summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2017-04-12 12:28:05 +0200
committerantirez <antirez@gmail.com>2017-04-12 12:28:05 +0200
commit104584b95e900bd52a754d7a2480b8768d1bae63 (patch)
tree63c4e18dad4cde8da4e03ae0931b00c09343f7b1
parent1210af380429f2f96324f4c46a6aef7e4ddb7a3e (diff)
downloadredis-104584b95e900bd52a754d7a2480b8768d1bae63.tar.gz
Fix typo in feedReplicationBacklog() top comment.
-rw-r--r--src/replication.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/replication.c b/src/replication.c
index bde37bc43..c7a703b85 100644
--- a/src/replication.c
+++ b/src/replication.c
@@ -122,7 +122,7 @@ void freeReplicationBacklog(void) {
/* Add data to the replication backlog.
* This function also increments the global replication offset stored at
* server.master_repl_offset, because there is no case where we want to feed
- * the backlog without incrementing the buffer. */
+ * the backlog without incrementing the offset. */
void feedReplicationBacklog(void *ptr, size_t len) {
unsigned char *p = ptr;