mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Remove redundant condition eval
This commit is contained in:
parent
831b9d1880
commit
d81a8d5f56
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user