diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-03-07 17:07:04 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-03-07 17:07:04 +0100 |
commit | 0294221a0d8f2be4272afcf40a35d8acc3c04427 (patch) | |
tree | 9cedb8255975609455b126be9d5c47369eae69d5 /recording.c | |
parent | e18fca233ee2ee15caa9b1d76b45ca239face0b8 (diff) | |
download | vdr-0294221a0d8f2be4272afcf40a35d8acc3c04427.tar.gz vdr-0294221a0d8f2be4272afcf40a35d8acc3c04427.tar.bz2 |
Fixed a comment typo
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.c b/recording.c index 4d07434a..5ea9c09b 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 1.54 2002/02/24 11:21:42 kls Exp $ + * $Id: recording.c 1.55 2002/03/07 17:07:04 kls Exp $ */ #include "recording.h" @@ -106,7 +106,7 @@ void AssertFreeDiskSpace(int Priority) cRecording *r0 = NULL; while (r) { if (r->lifetime < MAXLIFETIME) { // recordings with MAXLIFETIME live forever - if ((r->lifetime == 0 && Priority > r->priority) || // the recording has guaranteed lifetime and the new recording has higher priority + if ((r->lifetime == 0 && Priority > r->priority) || // the recording has no guaranteed lifetime and the new recording has higher priority (time(NULL) - r->start) / SECSINDAY > r->lifetime) { // the recording's guaranteed lifetime has expired if (r0) { if (r->priority < r0->priority || (r->priority == r0->priority && r->start < r0->start)) |