Fix processCommand() comment about return value.

This commit is contained in:
antirez 2015-12-17 09:22:16 +01:00
parent a1c9c05e17
commit 218e522c82

View File

@ -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