mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Remove assert which is always true
This commit is contained in:
parent
c3835a425a
commit
42c15e47b4
@ -1,3 +1,8 @@
|
||||
2013-10-30 Giuseppe Scrivano <gscrivan@redhat.com>
|
||||
|
||||
* http.c (skip_short_body): Remove assert which is always true.
|
||||
Reported by: David Binderman <dcb314@hotmail.com>
|
||||
|
||||
2013-10-17 Andrea Urbani <matfanjol@mail.com>
|
||||
|
||||
* ftp.c (getftp): force "LIST" or "LIST -a"
|
||||
|
@ -924,8 +924,6 @@ skip_short_body (int fd, wgint contlen, bool chunked)
|
||||
char dlbuf[SKIP_SIZE + 1];
|
||||
dlbuf[SKIP_SIZE] = '\0'; /* so DEBUGP can safely print it */
|
||||
|
||||
assert (contlen != -1 || contlen);
|
||||
|
||||
/* If the body is too large, it makes more sense to simply close the
|
||||
connection than to try to read the body. */
|
||||
if (contlen > SKIP_THRESHOLD)
|
||||
|
Loading…
Reference in New Issue
Block a user