mirror of
https://github.com/fluencelabs/redis
synced 2025-03-26 04:11:04 +00:00
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…
x
Reference in New Issue
Block a user