Make sure that REPLCONF ACK really has no return value.

This commit is contained in:
antirez 2013-05-25 01:22:27 +02:00
parent 0292c5f7ae
commit dd0adbb777

View File

@ -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);