Skip to content

Commit

Permalink
Fix typo in readSyncBulkPayload() comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor211 committed Mar 3, 2018
1 parent 84b2812 commit 04442fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/replication.c
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,7 @@ void readSyncBulkPayload(aeEventLoop *el, int fd, void *privdata, int mask) {
close(server.repl_transfer_fd);
replicationCreateMasterClient(server.repl_transfer_s,rsi.repl_stream_db);
server.repl_state = REPL_STATE_CONNECTED;
/* After a full resynchroniziation we use the replication ID and
/* After a full resynchronization we use the replication ID and
* offset of the master. The secondary ID / offset are cleared since
* we are starting a new history. */
memcpy(server.replid,server.master->replid,sizeof(server.replid));
Expand Down

0 comments on commit 04442fb

Please sign in to comment.