mirror of https://mirror.osredm.com/root/redis.git
Make sure that REPLCONF ACK really has no return value.
This commit is contained in:
parent
0292c5f7ae
commit
dd0adbb777
|
@ -601,6 +601,7 @@ void replconfCommand(redisClient *c) {
|
||||||
c->repl_ack_off = offset;
|
c->repl_ack_off = offset;
|
||||||
c->repl_ack_time = server.unixtime;
|
c->repl_ack_time = server.unixtime;
|
||||||
/* Note: this command does not reply anything! */
|
/* Note: this command does not reply anything! */
|
||||||
|
return;
|
||||||
} else {
|
} else {
|
||||||
addReplyErrorFormat(c,"Unrecognized REPLCONF option: %s",
|
addReplyErrorFormat(c,"Unrecognized REPLCONF option: %s",
|
||||||
(char*)c->argv[j]->ptr);
|
(char*)c->argv[j]->ptr);
|
||||||
|
|
Loading…
Reference in New Issue