summaryrefslogtreecommitdiff
path: root/rcfile.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger@gmx.de>2011-09-22 19:43:08 +0200
committerChristian Wieninger <cwieninger@gmx.de>2011-09-22 19:43:08 +0200
commiteff341390c079060d0904a53b7eebe84e2315f3a (patch)
treed45d902e7a7022a95a3e9c58346d88c45e0da517 /rcfile.c
parentbe2c5ff1bfdff45d384981816ef692f0179a7f15 (diff)
downloadvdr-plugin-epgsearch-eff341390c079060d0904a53b7eebe84e2315f3a.tar.gz
vdr-plugin-epgsearch-eff341390c079060d0904a53b7eebe84e2315f3a.tar.bz2
Delete trailing whitespace, thanks to Ville Skyttä for patches
Diffstat (limited to 'rcfile.c')
-rw-r--r--rcfile.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/rcfile.c b/rcfile.c
index 2567ac8..3864ef2 100644
--- a/rcfile.c
+++ b/rcfile.c
@@ -44,12 +44,12 @@ cRCLine::~cRCLine()
bool cRCLine::Parse(char *s)
{
char *p = strchr(s, '=');
- if (p)
+ if (p)
{
*p = 0;
char *Name = compactspace(s);
char *Value = compactspace(p + 1);
- if (*Name)
+ if (*Name)
{
name = strdup(Name);
value = strdup(Value);
@@ -71,15 +71,15 @@ cRCFile::cRCFile()
bool cRCFile::Load(const char *FileName)
{
- if (cConfig<cRCLine>::Load(FileName, true))
+ if (cConfig<cRCLine>::Load(FileName, true))
{
bool result = true;
- for (cRCLine *l = First(); l; l = Next(l))
+ for (cRCLine *l = First(); l; l = Next(l))
{
bool error = false;
if (!Parse(l->Name(), l->Value()))
error = true;
- if (error)
+ if (error)
{
LogFile.eSysLog("ERROR: unknown parameter: %s = %s", l->Name(), l->Value());
result = false;