]> git.saurik.com Git - redis.git/blobdiff - src/networking.c
EVALSHA implemented
[redis.git] / src / networking.c
index 5f0d1b25945fec10b634ee23803df031d6adc383..976b472a197033b8adf8be370ba9f67f9aee2766 100644 (file)
@@ -57,7 +57,7 @@ redisClient *createClient(int fd) {
     c->pubsub_patterns = listCreate();
     listSetFreeMethod(c->pubsub_patterns,decrRefCount);
     listSetMatchMethod(c->pubsub_patterns,listMatchObjects);
-    listAddNodeTail(server.clients,c);
+    if (fd != -1) listAddNodeTail(server.clients,c);
     initClientMultiState(c);
     return c;
 }