fix a possible bug for 'replconf getack'
This commit is contained in:
parent
4ac7d7780d
commit
c715f0e4be
@ -758,7 +758,7 @@ void replconfCommand(client *c) {
|
|||||||
/* REPLCONF GETACK is used in order to request an ACK ASAP
|
/* REPLCONF GETACK is used in order to request an ACK ASAP
|
||||||
* to the slave. */
|
* to the slave. */
|
||||||
if (server.masterhost && server.master) replicationSendAck();
|
if (server.masterhost && server.master) replicationSendAck();
|
||||||
/* 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