From 218e522c82fc1e05b3db8ba5f59856e2c29ccdc0 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 70a9f32d..69e13c60 100644 --- a/src/server.c +++ b/src/server.c @@ -2330,9 +2330,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