]> sjero.net Git - wget/blobdiff - src/http.c
Remove assert which is always true
[wget] / src / http.c
index 6b042a7eb8c1574daed5a2ac937fe46ff52a0cb8..dbfcdfbf407acfba5a5c7a32600e96e1d3ea2a66 100644 (file)
@@ -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)