mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 10:53:13 +02:00
- Fixed very silly 'time jumped .. seconds ahead (0 -> ..)' message which
happened on every IRCd boot.
This commit is contained in:
@@ -1760,3 +1760,5 @@
|
||||
- 'link xx with SSL option enabled on non-SSL compile' was incorrectly
|
||||
printed out as a warning, when in fact it's an error (and was treated as
|
||||
such). Same for ZIP on non-zip compile. Reported by Stealth (#0003833).
|
||||
- Fixed very silly 'time jumped .. seconds ahead (0 -> ..)' message which
|
||||
happened on every IRCd boot.
|
||||
|
||||
+1
-1
@@ -1697,7 +1697,7 @@ void SocketLoop(void *dummy)
|
||||
fix_timers();
|
||||
nextfdlistcheck = 0;
|
||||
} else
|
||||
if (timeofday - oldtimeofday > POSITIVE_SHIFT_WARN) /* do not set too low or you get false positives */
|
||||
if ((oldtimeofday > 0) && (timeofday - oldtimeofday > POSITIVE_SHIFT_WARN)) /* do not set too low or you get false positives */
|
||||
{
|
||||
/* tdiff = # of seconds of time set forward (eg: 60) */
|
||||
long tdiff = timeofday - oldtimeofday;
|
||||
|
||||
Reference in New Issue
Block a user