Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
httpc: remove redundant code
res is either set to 0 or we've returned
  • Loading branch information
adamsutton committed Jan 10, 2016
1 parent 29025b1 commit 97b26a9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/httpc.c
Expand Up @@ -1093,8 +1093,6 @@ http_client_run( http_client_t *hc )
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);
Expand Down

0 comments on commit 97b26a9

Please sign in to comment.