summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-03-20 11:19:36 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-03-20 11:19:36 +0100
commitce0e97eb6501ecea1c6be45bcc99ce51d34262c9 (patch)
tree1fc0271f185b2b7961463aff2f2eb95c37121936 /vdr.c
parente760b14f646004a7fe99e4561156a132a0572cdb (diff)
downloadvdr-ce0e97eb6501ecea1c6be45bcc99ce51d34262c9.tar.gz
vdr-ce0e97eb6501ecea1c6be45bcc99ce51d34262c9.tar.bz2
Single shot timers are now reliably deleted when they have expired
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index 15aff949..72975e3b 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.202 2005/02/12 15:06:16 kls Exp $
+ * $Id: vdr.c 1.203 2005/03/20 10:58:59 kls Exp $
*/
#include <getopt.h>
@@ -606,6 +606,8 @@ int main(int argc, char *argv[])
PreviousChannel[PreviousChannelIndex ^= 1] = LastChannel;
// Timers and Recordings:
if (!Timers.BeingEdited()) {
+ // Delete expired timers:
+ Timers.DeleteExpired();
// Assign events to timers:
Timers.SetEvents();
// Must do all following calls with the exact same time!