diff options
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 2 |
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; } |