summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 43e0eec0b..d0535c72c 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -637,7 +637,7 @@ int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server
}
else
{
- listen(sockfd,5);
+ listen(sockfd,SOMAXCONN);
return(TRUE);
}
}