mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 15:59:41 +08:00
Incorporate feedback from z3APA3A
This commit is contained in:
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -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
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user