summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2017-04-12 12:28:05 +0200
committerantirez <antirez@gmail.com>2017-04-18 16:16:51 +0200
commit185b361aa8e410b7f4dca1faf7944cd7d209fd46 (patch)
treea35e9b1e2622230ac539875d3ca1ec92325d7f01
parentb740fc1ee346d6e03d21810bb3012ffb256f5d54 (diff)
downloadredis-185b361aa8e410b7f4dca1faf7944cd7d209fd46.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;