diff --git a/conserver/cutil.c b/conserver/cutil.c index 0d50911..d0075f9 100644 --- a/conserver/cutil.c +++ b/conserver/cutil.c @@ -590,7 +590,6 @@ GetMaxFiles(void) mf = (FD_SETSIZE - 1); } #endif - CONDDEBUG((1, "GetMaxFiles(): maxfiles=%d", mf)); return mf; } diff --git a/conserver/main.c b/conserver/main.c index a9ff5b3..37abf5f 100644 --- a/conserver/main.c +++ b/conserver/main.c @@ -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++)