summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-30 11:43:36 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-30 11:43:36 +0200
commit3b67f70b9db9e12e5e4e87ded3eb8db714fe9e3b (patch)
tree5bff767882b61655ead29f67c4cb36abed44015c /vdr.c
parent4558fa70b17e60dca429ea6e57757d833b59c067 (diff)
downloadvdr-3b67f70b9db9e12e5e4e87ded3eb8db714fe9e3b.tar.gz
vdr-3b67f70b9db9e12e5e4e87ded3eb8db714fe9e3b.tar.bz2
Fixed the 'system time seen...' message in case of overlapping timers
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index d7c3f06e..d8fd1c6a 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: vdr.c 1.79 2001/09/23 14:33:39 kls Exp $
+ * $Id: vdr.c 1.80 2001/09/30 11:42:58 kls Exp $
*/
#define _GNU_SOURCE
@@ -355,7 +355,8 @@ int main(int argc, char *argv[])
cRecordControls::Process(Now);
cTimer *Timer = Timers.GetMatch(Now);
if (Timer) {
- dsyslog(LOG_INFO, "system time seen is %s", ctime(&Now));
+ if (!Timer->pending)
+ dsyslog(LOG_INFO, "system time seen is %s", ctime(&Now));
if (!cRecordControls::Start(Timer))
Timer->SetPending(true);
}