summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-05-25 01:22:27 +0200
committerantirez <antirez@gmail.com>2013-05-25 01:22:27 +0200
commit70033c8b715684e2f54a9a5955c2e934d9e8eced (patch)
tree79f02677449a45fe9fc2a623784259fbea99f96a
parent3ce1089d6af6b343a1b55d2d1337fc5679279e9c (diff)
downloadredis-70033c8b715684e2f54a9a5955c2e934d9e8eced.tar.gz
Make sure that REPLCONF ACK really has no return value.
-rw-r--r--src/replication.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/replication.c b/src/replication.c
index 06cfe89ae..70ed8605a 100644
--- a/src/replication.c
+++ b/src/replication.c
@@ -601,6 +601,7 @@ void replconfCommand(redisClient *c) {
c->repl_ack_off = offset;
c->repl_ack_time = server.unixtime;
/* Note: this command does not reply anything! */
+ return;
} else {
addReplyErrorFormat(c,"Unrecognized REPLCONF option: %s",
(char*)c->argv[j]->ptr);