summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-01-08 14:11:02 +0100
committerantirez <antirez@gmail.com>2014-01-08 14:11:02 +0100
commit418d3d358a1a09a59eec74bcc92649162585f8ec (patch)
tree206d8fe31c964e6a271f7728fff8e963ab007832
parent0a1a236e3e7773b76ba8aaccfd21eb77e7accce1 (diff)
downloadredis-418d3d358a1a09a59eec74bcc92649162585f8ec.tar.gz
Clarify a comment in slaveTryPartialResynchronization().
-rw-r--r--src/replication.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/replication.c b/src/replication.c
index b1d08c774..c480c9e82 100644
--- a/src/replication.c
+++ b/src/replication.c
@@ -991,7 +991,7 @@ int slaveTryPartialResynchronization(int fd) {
/* If we reach this point we receied either an error since the master does
* not understand PSYNC, or an unexpected reply from the master.
- * Reply with PSYNC_NOT_SUPPORTED in both cases. */
+ * Return PSYNC_NOT_SUPPORTED to the caller in both cases. */
if (strncmp(reply,"-ERR",4)) {
/* If it's not an error, log the unexpected event. */