]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
httpc: fix compilation error
authorJaroslav Kysela <perex@perex.cz>
Fri, 23 Feb 2018 07:00:54 +0000 (08:00 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 23 Feb 2018 07:01:02 +0000 (08:01 +0100)
src/httpc.c

index 49674d4aebf1fba703a9715c5813ea5a3de4a7a4..782ff7faf6578b86b7ae761c567538c77787de13 100644 (file)
@@ -1154,6 +1154,7 @@ rtsp_data:
     }
     r += hc->hc_csize;
     hc->hc_code = 0;
+    res = 0;
     if (hc->hc_rtp_data_complete) {
       http_client_get(hc);
       pthread_mutex_unlock(&hc->hc_mutex);