From f50dfff0eef96c2af6f51a14f9dd178bcfdce396 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 17 Dec 2015 09:22:16 +0100 Subject: [PATCH] Fix processCommand() comment about return value. --- src/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server.c b/src/server.c index 05454814..cfe7067c 100644 --- a/src/server.c +++ b/src/server.c @@ -2308,9 +2308,9 @@ void call(client *c, int flags) { * processCommand() execute the command or prepare the * server for a bulk read from the client. * - * If 1 is returned the client is still alive and valid and + * If C_OK is returned the client is still alive and valid and * other operations can be performed by the caller. Otherwise - * if 0 is returned the client was destroyed (i.e. after QUIT). */ + * if C_ERR is returned the client was destroyed (i.e. after QUIT). */ int processCommand(client *c) { /* The QUIT command is handled separately. Normal command procs will * go through checking for replication and QUIT will cause trouble