summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-01-26 14:09:21 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-01-26 14:09:21 +0100
commit895921019c7cbf5ab136ede5087f11e0c9165419 (patch)
tree9b9885ff0f34cb88cf08e3e841b0fc9546cc1b18 /vdr.c
parent4bba577a8bd6ac06445d34db3a0f7bdae37c120d (diff)
downloadvdr-895921019c7cbf5ab136ede5087f11e0c9165419.tar.gz
vdr-895921019c7cbf5ab136ede5087f11e0c9165419.tar.bz2
Fixed setting the LastActivity timestamp after a shutdown prompt
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index 17d84094..5351e409 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.92 2002/01/26 13:35:05 kls Exp $
+ * $Id: vdr.c 1.93 2002/01/26 14:07:01 kls Exp $
*/
#include <getopt.h>
@@ -514,7 +514,7 @@ int main(int argc, char *argv[])
if (signal(SIGALRM, Watchdog) == SIG_IGN)
signal(SIGALRM, SIG_IGN);
}
- LastActivity = Now; // don't try again too soon
+ LastActivity = time(NULL); // don't try again too soon
continue; // skip the rest of the housekeeping for now
}
}