expire_run = false;
}
- if (iterations++ == 30)
+ if (iterations++ == 15)
{
iterations = 0;
DoBackgroundUserStuff(TIME);
if (!Config->nofork)
{
- freopen("/dev/null","w",stdout);
- freopen("/dev/null","w",stderr);
+ fclose(stdout);
+ fclose(stderr);
+ fclose(stdin);
}
/* Add the listening sockets used for client inbound connections