diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-01-26 14:09:21 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-01-26 14:09:21 +0100 |
commit | 895921019c7cbf5ab136ede5087f11e0c9165419 (patch) | |
tree | 9b9885ff0f34cb88cf08e3e841b0fc9546cc1b18 | |
parent | 4bba577a8bd6ac06445d34db3a0f7bdae37c120d (diff) | |
download | vdr-895921019c7cbf5ab136ede5087f11e0c9165419.tar.gz vdr-895921019c7cbf5ab136ede5087f11e0c9165419.tar.bz2 |
Fixed setting the LastActivity timestamp after a shutdown prompt
-rw-r--r-- | CONTRIBUTORS | 3 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | vdr.c | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 38084be7..8fd4ebda 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -178,3 +178,6 @@ Lauri Pesonen <lauri.pesonen@firsthop.com> Emil Naepflein <Emil.Naepflein@philosys.de> for his hint about the 'ftw()' library function + +Sergei Haller <Sergei.Haller@math.uni-giessen.de> + for fixing the LastActivity timestamp after a shutdown prompt @@ -911,3 +911,5 @@ Video Disk Recorder Revision History deleted if an error occured. - A message is now prompted at the end of the editing process, indicating whether the process succeeded or failed. +- Fixed setting the LastActivity timestamp after a shutdown prompt (thanks to + Sergei Haller). @@ -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 } } |