diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-18 13:03:46 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-18 13:03:46 +0200 |
commit | aebcc9d15cc76d38804d346fabe7c7b664e95db8 (patch) | |
tree | 297e029f0a9eecf6a4890ea7917bb2e3dbd5df59 /vdr.c | |
parent | 8014316a315d445e3b5f53f21fd11ff89eeb8b45 (diff) | |
download | vdr-aebcc9d15cc76d38804d346fabe7c7b664e95db8.tar.gz vdr-aebcc9d15cc76d38804d346fabe7c7b664e95db8.tar.bz2 |
Fixed initializing 'Now' in main loop
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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()) { |