From 0294221a0d8f2be4272afcf40a35d8acc3c04427 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 7 Mar 2002 17:07:04 +0100 Subject: Fixed a comment typo --- recording.c | 4 ++-- 1 file 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)) -- cgit v1.2.3