summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index e08fcb4e1..26d011914 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -133,7 +133,7 @@ bool connection::CreateListener(char* newhost, int p)
this->port = p;
- listen(this->fd,5);
+ listen(this->fd,SOMAXCONN);
return true;
}