diff --git a/iptv.c b/iptv.c index 2543165..af0bd81 100644 --- a/iptv.c +++ b/iptv.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: iptv.c,v 1.30 2008/01/04 23:36:37 ajhseppa Exp $ + * $Id: iptv.c,v 1.31 2008/01/06 20:19:02 rahrenbe Exp $ */ #include @@ -194,11 +194,10 @@ bool cPluginIptv::SetupParse(const char *Name, const char *Value) IptvConfig.SetSidScanning(atoi(Value)); else if (!strcasecmp(Name, "DisabledFilters")) { int DisabledFilters[SECTION_FILTER_TABLE_SIZE]; - for (unsigned int i = 0; i < ARRAY_SIZE(DisabledFilters); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(DisabledFilters); ++i) DisabledFilters[i] = -1; - } int DisabledFiltersCount = ParseFilters(Value, DisabledFilters); - for (int i = 0; i < DisabledFiltersCount; ++i) + for (unsigned int i = 0; i < DisabledFiltersCount; ++i) IptvConfig.SetDisabledFilters(i, DisabledFilters[i]); } else diff --git a/protocolext.c b/protocolext.c index 82af168..c2781ff 100644 --- a/protocolext.c +++ b/protocolext.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: protocolext.c,v 1.21 2008/01/04 23:36:37 ajhseppa Exp $ + * $Id: protocolext.c,v 1.22 2008/01/06 20:19:02 rahrenbe Exp $ */ #include @@ -60,7 +60,7 @@ void cIptvProtocolExt::ExecuteScript(void) asprintf(&cmd, "%s %d %d", scriptFile, scriptParameter, socketPort); debug("cIptvProtocolExt::ExecuteScript(child): %s\n", cmd); if (execl("/bin/sh", "sh", "-c", cmd, NULL) == -1) { - error("ERROR: Script executionfailed: %s", cmd); + error("ERROR: Script execution failed: %s", cmd); free(cmd); _exit(-1); }