mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed handling the tfRecording flag when reading timers
This commit is contained in:
3
timers.c
3
timers.c
@@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: timers.c 1.43 2006/01/15 13:31:11 kls Exp $
|
||||
* $Id: timers.c 1.44 2006/01/27 15:35:17 kls Exp $
|
||||
*/
|
||||
|
||||
#include "timers.h"
|
||||
@@ -245,6 +245,7 @@ bool cTimer::Parse(const char *s)
|
||||
}
|
||||
bool result = false;
|
||||
if (8 <= sscanf(s, "%u :%a[^:]:%a[^:]:%d :%d :%d :%d :%a[^:\n]:%a[^\n]", &flags, &channelbuffer, &daybuffer, &start, &stop, &priority, &lifetime, &filebuffer, &summary)) {
|
||||
ClrFlags(tfRecording);
|
||||
if (summary && !*skipspace(summary)) {
|
||||
free(summary);
|
||||
summary = NULL;
|
||||
|
||||
Reference in New Issue
Block a user