mirror of https://mirror.osredm.com/root/redis.git
parent
60f13e7a86
commit
456c347d45
|
@ -2796,7 +2796,7 @@ void helloCommand(client *c) {
|
|||
}
|
||||
|
||||
/* Let's switch to the specified RESP mode. */
|
||||
if (!!ver) c->resp = ver;
|
||||
if (ver) c->resp = ver;
|
||||
addReplyMapLen(c,6 + !server.sentinel_mode);
|
||||
|
||||
addReplyBulkCString(c,"server");
|
||||
|
|
Loading…
Reference in New Issue