From 286af66cfb787b76ee7289c920a75a3dd21ce795 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 26 Dec 2004 12:45:22 +0100 Subject: Made several functions threadsafe (cont'd) --- eit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eit.c') diff --git a/eit.c b/eit.c index ed02cf28..3d324561 100644 --- a/eit.c +++ b/eit.c @@ -8,7 +8,7 @@ * Robert Schneider and Rolf Hakenes . * Adapted to 'libsi' for VDR 1.3.0 by Marcel Wiesweg . * - * $Id: eit.c 1.100 2004/10/31 12:56:24 kls Exp $ + * $Id: eit.c 1.101 2004/12/26 10:38:46 kls Exp $ */ #include "eit.h" @@ -245,8 +245,8 @@ cTDT::cTDT(const u_char *Data) if (abs(sattim - loctim) > 2) { mutex.Lock(); - isyslog("System Time = %s (%ld)\n", ctime(&loctim), loctim); - isyslog("Local Time = %s (%ld)\n", ctime(&sattim), sattim); + isyslog("System Time = %s (%ld)\n", *TimeToString(loctim), loctim); + isyslog("Local Time = %s (%ld)\n", *TimeToString(sattim), sattim); if (stime(&sattim) < 0) esyslog("ERROR while setting system time: %m"); mutex.Unlock(); -- cgit v1.2.3