summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxhe <xw897002528@gmail.com>2020-12-25 10:17:55 +0800
committerxhe <xw897002528@gmail.com>2020-12-25 10:17:55 +0800
commite6c1aeaf08b14076ccdf26aaef65b76b1597ee77 (patch)
treebb938d47e7c68231f9ad74ac2a38202b0f8f21f6
parentfae5ceef2ab65797af7d7778143efb8e4d598301 (diff)
downloadredis-e6c1aeaf08b14076ccdf26aaef65b76b1597ee77.tar.gz
fix the format
Signed-off-by: xhe <xw897002528@gmail.com>
-rw-r--r--src/networking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/networking.c b/src/networking.c
index 187fafbb4..ff71559a4 100644
--- a/src/networking.c
+++ b/src/networking.c
@@ -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");