Skip to content

Commit ca16a76

Browse files
author
Nitai Caro
committed
Formatter fixes
1 parent f9d5a9a commit ca16a76

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/bio.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ void *bioProcessBackgroundJobs(void *arg) {
297297
} else if (job_type == BIO_RDB_SAVE) {
298298
int usemark;
299299
char lastbytes[RDB_EOF_MARK_SIZE];
300-
char buf[PROTO_IOBUF_LEN];
300+
char buf[PROTO_IOBUF_LEN];
301301
char eofmark[RDB_EOF_MARK_SIZE];
302302
ssize_t readlen, nread, nwritten;
303303
off_t left = 0, repl_transfer_last_fsync_off = 0;
@@ -322,7 +322,7 @@ void *bioProcessBackgroundJobs(void *arg) {
322322
goto done;
323323
}
324324
/* nread here is returned by connSyncReadLine(), which calls syncReadLine() and
325-
* convert "\r\n" to '\0' so 1 byte is lost. */
325+
* convert "\r\n" to '\0' so 1 byte is lost. */
326326
server.bio_stat_net_repl_input_bytes += nread + 1;
327327
int ret = inspectBulkPayloadHeaderForErrors(buf);
328328
if (ret == INSPECT_BULK_PAYLOAD_PRIMARY_ABORT) {

src/bio.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ enum {
4949
BIO_AOF_FSYNC, /* Deferred AOF fsync. */
5050
BIO_LAZY_FREE, /* Deferred objects freeing. */
5151
BIO_CLOSE_AOF, /* Deferred close for AOF files. */
52-
BIO_RDB_SAVE, /* Deferred save RDB to disk on replica */
52+
BIO_RDB_SAVE, /* Deferred save RDB to disk on replica */
5353
BIO_NUM_OPS
5454
};
5555

0 commit comments

Comments
 (0)