mirror of
https://github.com/bstansell/conserver.git
synced 2024-12-23 06:32:24 +00:00
Merge pull request #7 from emaste/master
Correct argument type passed to time()
This commit is contained in:
commit
06f5c67298
@ -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…
Reference in New Issue
Block a user