diff options
author | antirez <antirez@gmail.com> | 2015-12-17 09:22:16 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-12-17 09:51:58 +0100 |
commit | f50dfff0eef96c2af6f51a14f9dd178bcfdce396 (patch) | |
tree | 7d32e3acc43cdc80ad725b6e89280f8bbec6a73e | |
parent | fc00042ef92e9dd828ea18d7892adf787537323e (diff) | |
download | redis-f50dfff0eef96c2af6f51a14f9dd178bcfdce396.tar.gz |
Fix processCommand() comment about return value.
-rw-r--r-- | src/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.c b/src/server.c index 05454814c..cfe7067ca 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 |