mirror of
https://github.com/bstansell/conserver.git
synced 2025-04-16 23:18:56 +00:00
Prevent GetMaxFiles() debug output from going to forked processes
This commit is contained in:
parent
02d0c15a77
commit
55738e4e97
@ -590,7 +590,6 @@ GetMaxFiles(void)
|
||||
mf = (FD_SETSIZE - 1);
|
||||
}
|
||||
#endif
|
||||
CONDDEBUG((1, "GetMaxFiles(): maxfiles=%d", mf));
|
||||
return mf;
|
||||
}
|
||||
|
||||
|
@ -1452,6 +1452,10 @@ main(int argc, char **argv)
|
||||
#if !USE_IPV6
|
||||
ProbeInterfaces(bindAddr);
|
||||
#endif
|
||||
#if !HAVE_CLOSEFROM
|
||||
i = GetMaxFiles();
|
||||
CONDDEBUG((1, "main(): GetMaxFiles=%d", i));
|
||||
#endif
|
||||
|
||||
/* initialize the timers */
|
||||
for (i = 0; i < T_MAX; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user