summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-08-18 13:03:46 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-08-18 13:03:46 +0200
commitaebcc9d15cc76d38804d346fabe7c7b664e95db8 (patch)
tree297e029f0a9eecf6a4890ea7917bb2e3dbd5df59
parent8014316a315d445e3b5f53f21fd11ff89eeb8b45 (diff)
downloadvdr-aebcc9d15cc76d38804d346fabe7c7b664e95db8.tar.gz
vdr-aebcc9d15cc76d38804d346fabe7c7b664e95db8.tar.bz2
Fixed initializing 'Now' in main loop
-rw-r--r--vdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index bd7ce40b..0f9cf5f9 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.297 2007/08/17 14:32:02 kls Exp $
+ * $Id: vdr.c 1.298 2007/08/18 13:03:46 kls Exp $
*/
#include <getopt.h>
@@ -705,7 +705,7 @@ int main(int argc, char *argv[])
// Attach launched player control:
cControl::Attach();
- static time_t Now = time(NULL);
+ time_t Now = time(NULL);
// Make sure we have a visible programme in case device usage has changed:
if (!EITScanner.Active() && cDevice::PrimaryDevice()->HasDecoder() && !cDevice::PrimaryDevice()->HasProgramme()) {