]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
httpc: remove redundant code
authorAdam Sutton <dev@adamsutton.me.uk>
Sun, 10 Jan 2016 00:38:18 +0000 (00:38 +0000)
committerAdam Sutton <dev@adamsutton.me.uk>
Sun, 10 Jan 2016 18:01:33 +0000 (18:01 +0000)
res is either set to 0 or we've returned

src/httpc.c

index 4b7c428e6aa145d94f757ebccc55c014de186734..69f07a472e7238e96456d999282e7ab79564fe0e 100644 (file)
@@ -1093,8 +1093,6 @@ rtsp_data:
       res = 0;
     }
     r += hc->hc_csize;
-    if (res < 0)
-      return http_client_flush(hc, res);
     hc->hc_in_rtp_data = 1;
     hc->hc_code = 0;
     res = http_client_finish(hc);