]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
m3u parser: another url parsing quickfix
authorJaroslav Kysela <perex@perex.cz>
Thu, 19 Nov 2015 15:21:37 +0000 (16:21 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 19 Nov 2015 15:21:37 +0000 (16:21 +0100)
src/misc/m3u.c

index 2191e770839b312953bc3bdd925976e26df81413..1ea0cac1c164aa6221b808210adcfbb410a3751e 100644 (file)
@@ -81,7 +81,7 @@ static int is_full_url(const char *url)
     strncmp(url, "rtsp://", 7) == 0 ||
     strncmp(url, "rtsps://", 8) == 0 ||
     strncmp(url, "udp://", 6) == 0 ||
-    strncmp(url, "rtp://", 6);
+    strncmp(url, "rtp://", 6) == 0;
 }
 
 /*