mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Reading the 'setup.conf' file no longer terminates in case of an error
This commit is contained in:
parent
7f3c58f857
commit
7eca326b39
2
HISTORY
2
HISTORY
@ -1029,3 +1029,5 @@ Video Disk Recorder Revision History
|
|||||||
- The new Setup parameter RecordDolbyDigital can be used to generally turn off
|
- The new Setup parameter RecordDolbyDigital can be used to generally turn off
|
||||||
recording the Dolby Digital audio channels in case you want to save disk space
|
recording the Dolby Digital audio channels in case you want to save disk space
|
||||||
or don't have the equipment to replay Dolby Digital audio.
|
or don't have the equipment to replay Dolby Digital audio.
|
||||||
|
- Reading the 'setup.conf' file no longer terminates in case of an error, but
|
||||||
|
rather attempts to read the rest of the file.
|
||||||
|
3
config.c
3
config.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: config.c 1.86 2002/02/24 11:53:12 kls Exp $
|
* $Id: config.c 1.87 2002/02/24 11:59:14 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -994,7 +994,6 @@ bool cSetup::Load(const char *FileName)
|
|||||||
if (*buffer != '#' && !Parse(buffer)) {
|
if (*buffer != '#' && !Parse(buffer)) {
|
||||||
esyslog(LOG_ERR, "error in %s, line %d\n", fileName, line);
|
esyslog(LOG_ERR, "error in %s, line %d\n", fileName, line);
|
||||||
result = false;
|
result = false;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user