diff options
author | antirez <antirez@gmail.com> | 2013-05-25 01:22:27 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-05-25 01:22:27 +0200 |
commit | 70033c8b715684e2f54a9a5955c2e934d9e8eced (patch) | |
tree | 79f02677449a45fe9fc2a623784259fbea99f96a | |
parent | 3ce1089d6af6b343a1b55d2d1337fc5679279e9c (diff) | |
download | redis-70033c8b715684e2f54a9a5955c2e934d9e8eced.tar.gz |
Make sure that REPLCONF ACK really has no return value.
-rw-r--r-- | src/replication.c | 1 |
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); |