mirror of
https://github.com/bstansell/conserver.git
synced 2025-02-02 16:50:37 +00:00
Correct argument type passed to time()
This commit is contained in:
parent
4a32f41eca
commit
4330a8b5c0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user