Merge pull request #7 from emaste/master

Correct argument type passed to time()
This commit is contained in:
conserver.com 2018-10-12 18:08:36 -07:00 committed by GitHub
commit 06f5c67298

View File

@ -3116,7 +3116,7 @@ ConsoleAdd(CONSENT *c)
pCEmatch->logfilemax = c->logfilemax;
if (pCEmatch->logfilemax != (off_t) 0 &&
timers[T_ROLL] == (time_t)0)
timers[T_ROLL] = time((time_t)0);
timers[T_ROLL] = time((time_t *)0);
SwapStr(&pCEmatch->motd, &c->motd);
SwapStr(&pCEmatch->idlestring, &c->idlestring);