Commit 218e522c authored by antirez's avatar antirez
Browse files

Fix processCommand() comment about return value.

parent a1c9c05e
...@@ -2330,9 +2330,9 @@ void call(client *c, int flags) { ...@@ -2330,9 +2330,9 @@ void call(client *c, int flags) {
* processCommand() execute the command or prepare the * processCommand() execute the command or prepare the
* server for a bulk read from the client. * 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 * 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) { int processCommand(client *c) {
/* The QUIT command is handled separately. Normal command procs will /* The QUIT command is handled separately. Normal command procs will
* go through checking for replication and QUIT will cause trouble * go through checking for replication and QUIT will cause trouble
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment