/[svn]/ircd-hybrid/trunk/src/event.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/src/event.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8912 by michael, Sun Apr 21 21:29:36 2019 UTC revision 8913 by michael, Sun Apr 21 21:43:09 2019 UTC
# Line 127  event_time_set(void) Line 127  event_time_set(void)
127    else if (event_base->time.sec_real > (uintmax_t)newtime.tv_sec)    else if (event_base->time.sec_real > (uintmax_t)newtime.tv_sec)
128      ilog(LOG_TYPE_IRCD, "System clock is running backwards - (%ju < %ju)",      ilog(LOG_TYPE_IRCD, "System clock is running backwards - (%ju < %ju)",
129           (uintmax_t)newtime.tv_sec, event_base->time.sec_real);           (uintmax_t)newtime.tv_sec, event_base->time.sec_real);
130    else    event_base->time.sec_real = newtime.tv_sec;
     event_base->time.sec_real = newtime.tv_sec;  
131    
132  #ifdef CLOCK_MONOTONIC_RAW  #ifdef CLOCK_MONOTONIC_RAW
133    if (clock_gettime(CLOCK_MONOTONIC_RAW, &newtime) == 0)    if (clock_gettime(CLOCK_MONOTONIC_RAW, &newtime) == 0)

Legend:
Removed from v.8912  
changed lines
  Added in v.8913

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28