From dd0adbb777f37b38bc647c15837ba53ed9edc9d4 Mon Sep 17 00:00:00 2001 From: antirez Date: Sat, 25 May 2013 01:22:27 +0200 Subject: [PATCH] Make sure that REPLCONF ACK really has no return value. --- src/replication.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/replication.c b/src/replication.c index 06cfe89a..70ed8605 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);