Correct argument type passed to time()

This commit is contained in:
Ed Maste 2018-10-10 12:56:26 -04:00
parent 4a32f41eca
commit 4330a8b5c0

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);