bk: 528c7946TCmhw6ODDKFhE21o7jrtDg
+* [Bug 2326] More leapsecond file notification cleanup.
(4.2.7p396) 2013/11/19 Released by Harlan Stenn <stenn@ntp.org>
* [Bug 2326] Improve stale leapsecond notifications.
(4.2.7p395) 2013/11/12 Released by Harlan Stenn <stenn@ntp.org>
/* We're done... */
ih_return:
if (check_leapfile < time(NULL)) {
+ int rc;
+
check_leapfile += CHECK_LEAP_EVERY;
- (void)check_leap_file();
+ rc = check_leap_file();
+
+ if (rc < 31)
+ msyslog(LOG_DEBUG,
+ "input_handler: check_leap_file() returned %d.' time!", rc);
}
return;
}
report_event(EVNT_LEAPVAL, NULL, NULL);
if (leap_warn_log == FALSE) {
msyslog(LOG_WARNING,
- "leapseconds data file has expire!.");
+ "timer: leapseconds data file has expired!");
leap_warn_log = TRUE;
}
} else if (clf < 31) {
msyslog(LOG_WARNING,
- "leapseconds data file will expire in about %d days' time!", clf);
- /* squawk that leapfile will expire */
+ "timer: leapseconds data file will expire in about %d days' time!", clf);
}
} else
leap_warn_log = FALSE;