]> 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:00:54 +0000 (08:00 +0100)
src/httpc.c

index 79eb53e1d3bd59473683fc3a8fc5a1c156e8fcd4..71be497dbb8f4b314369bf10bae407fd6bf3cb25 100644 (file)
@@ -1143,6 +1143,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);