Refactoring: unlinkClient() added to lower freeClient() complexity.

This commit is contained in:
antirez
2015-09-30 16:56:02 +02:00
parent 2d21af4548
commit 47e6cf119c
3 changed files with 48 additions and 51 deletions

View File

@ -1112,6 +1112,7 @@ int clientsArePaused(void);
int processEventsWhileBlocked(void);
void handleClientsWithPendingWrites(void);
int clientHasPendingReplies(client *c);
void unlinkClient(client *c);
#ifdef __GNUC__
void addReplyErrorFormat(client *c, const char *fmt, ...)