From: Jaroslav Kysela Date: Sat, 31 Oct 2015 21:26:36 +0000 (+0100) Subject: IPTV: m3u parser - another fix for url parser - reverse condition X-Git-Tag: v4.2.1~1711 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=496a1b90650252bf7730da1251d9997c7125ea6e;p=thirdparty%2Ftvheadend.git IPTV: m3u parser - another fix for url parser - reverse condition --- diff --git a/src/input/mpegts/iptv/iptv_http.c b/src/input/mpegts/iptv/iptv_http.c index 9f8bfe7e2..5a1fa1835 100644 --- a/src/input/mpegts/iptv/iptv_http.c +++ b/src/input/mpegts/iptv/iptv_http.c @@ -162,7 +162,7 @@ iptv_http_complete if ((p = strchr(p, '/')) != NULL) *p = '\0'; } - if (!urlparse(s, &u)) + if (urlparse(s, &u)) goto invalid; snprintf(url2, 512, "%s%s", s, url); }