summaryrefslogtreecommitdiff
path: root/anet.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-05-11 13:50:09 +0200
committerantirez <antirez@gmail.com>2009-05-11 13:50:09 +0200
commit7407797596cdc7ff4df1588cb0bacd2d3d5c67ac (patch)
tree58cf51206ba4e2828b46787adf9bdedff7f62701 /anet.c
parentb062edf392a70116031881f9af7a082d042a2dbd (diff)
downloadredis-7407797596cdc7ff4df1588cb0bacd2d3d5c67ac.tar.gz
Python client updated pushing from Ludo's repository
Diffstat (limited to 'anet.c')
-rw-r--r--anet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/anet.c b/anet.c
index 893f42c81..6406bccf6 100644
--- a/anet.c
+++ b/anet.c
@@ -237,7 +237,7 @@ int anetTcpServer(char *err, int port, char *bindaddr)
close(s);
return ANET_ERR;
}
- if (listen(s, 32) == -1) {
+ if (listen(s, 64) == -1) {
anetSetError(err, "listen: %s\n", strerror(errno));
close(s);
return ANET_ERR;