]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
IPTV: m3u parser - another fix for url parser - reverse condition
authorJaroslav Kysela <perex@perex.cz>
Sat, 31 Oct 2015 21:26:36 +0000 (22:26 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 31 Oct 2015 21:26:36 +0000 (22:26 +0100)
src/input/mpegts/iptv/iptv_http.c

index 9f8bfe7e27762a8b8bf14accf09105d6a79eb6ff..5a1fa1835844667d3a543885975fbfb3c6b8d9cd 100644 (file)
@@ -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);
       }