From: Jaroslav Kysela Date: Fri, 23 Feb 2018 07:00:54 +0000 (+0100) Subject: httpc: fix compilation error X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=780c603749c9e69ae543f674e8b96a30263ee9c1;p=thirdparty%2Ftvheadend.git httpc: fix compilation error --- diff --git a/src/httpc.c b/src/httpc.c index 79eb53e1d..71be497db 100644 --- a/src/httpc.c +++ b/src/httpc.c @@ -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);