fix the format

Signed-off-by: xhe <xw897002528@gmail.com>
This commit is contained in:
xhe 2020-12-25 10:17:55 +08:00
parent d411c39bc5
commit 129e376d70

View File

@ -2765,9 +2765,9 @@ void helloCommand(client *c) {
if (c->argc >= 2) {
if (getLongLongFromObjectOrReply(c, c->argv[next_arg++], &ver,
"Protocol version is not an integer or out of range") != C_OK) {
"Protocol version is not an integer or out of range") != C_OK) {
return;
}
}
if (ver < 2 || ver > 3) {
addReplyError(c,"-NOPROTO unsupported protocol version");