simplify
Co-authored-by: Oran Agra <oran@redislabs.com>
This commit is contained in:
parent
60f13e7a86
commit
456c347d45
@ -2796,7 +2796,7 @@ void helloCommand(client *c) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Let's switch to the specified RESP mode. */
|
/* Let's switch to the specified RESP mode. */
|
||||||
if (!!ver) c->resp = ver;
|
if (ver) c->resp = ver;
|
||||||
addReplyMapLen(c,6 + !server.sentinel_mode);
|
addReplyMapLen(c,6 + !server.sentinel_mode);
|
||||||
|
|
||||||
addReplyBulkCString(c,"server");
|
addReplyBulkCString(c,"server");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user