mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
fix ntp bug in d74b5976029ede6db172e79b8f16921f74451376
Origin commit data
------------------
Branch: ni/coolstream
Commit: c1fc4263f0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-09 (Mon, 09 Apr 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1429,7 +1429,7 @@ void CTimeThread::run()
|
|||||||
sleep_time = 5;
|
sleep_time = 5;
|
||||||
}
|
}
|
||||||
/* in case of wrong TDT date, dont send time is set, 1325376000 - 01.01.2012 */
|
/* in case of wrong TDT date, dont send time is set, 1325376000 - 01.01.2012 */
|
||||||
if(dvb_time > (time_t) 1325376000) {
|
if(time_ntp || (dvb_time > (time_t) 1325376000)) {
|
||||||
sendTimeEvent(time_ntp, dvb_time);
|
sendTimeEvent(time_ntp, dvb_time);
|
||||||
xprintf("%s: Time set via %s, going to sleep for %d seconds.\n", name.c_str(),
|
xprintf("%s: Time set via %s, going to sleep for %d seconds.\n", name.c_str(),
|
||||||
time_ntp ? "NTP" : first_time ? "DVB (TDT)" : "DVB (TOT)", sleep_time);
|
time_ntp ? "NTP" : first_time ? "DVB (TDT)" : "DVB (TOT)", sleep_time);
|
||||||
|
Reference in New Issue
Block a user