Remove redundant condition eval

This commit is contained in:
Darshit Shah 2014-11-09 14:20:22 +05:30
parent 831b9d1880
commit d81a8d5f56
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-11-09 Darshit Shah <darnir@gmail.com>
* http.c (gethttp): Remove redundant condition evaluation
2014-11-04 Tim Ruehsen <tim.ruehsen@gmx.de>
* iri.c (do_conversion): fix quote() misuse

View File

@ -2761,7 +2761,7 @@ read_header:
}
if (statcode == HTTP_STATUS_RANGE_NOT_SATISFIABLE
|| (!opt.timestamping && hs->restval > 0 && statcode == HTTP_STATUS_OK
|| (!opt.timestamping && statcode == HTTP_STATUS_OK
&& contrange == 0 && contlen >= 0 && hs->restval >= contlen))
{
/* If `-c' is in use and the file has been fully downloaded (or