Incorporate feedback from z3APA3A

This commit is contained in:
Daniel Winzen committed 2022-11-08 15:42:04 +01:00
1 parent 9a6908e623
commit cc0fd518bd
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ struct extparam conf = {
NULL,
0,
0, -1, 0, 0, 0, 0,
0, 500, 13, 0, 0, 0, 0, 0, 2,
0, 500, 0, 0, 0, 0, 0, 0, 2,
0, 0, 0,
6, 600,
1048576,
+1 -1
View File
@@ -649,7 +649,7 @@ int MODULEMAINFUNC (int argc, char** argv){
}
}
if(!isudp){
if(so._listen (sock, srv.backlog)==-1) {
if(so._listen (sock, srv.backlog?srv.backlog : 1+(srv.maxchild>>3))==-1) {
sprintf((char *)buf, "listen(): %s", strerror(errno));
if(!srv.silent)dolog(&defparam, buf);
return -4;