]> sjero.net Git - wget/blobdiff - src/retr.c
[svn] Improve built-in memory debugger.
[wget] / src / retr.c
index ad075f2f9df17a404e0b9d8fb8569cb1909b4aa6..a19262a03c1fce7ad30b35341781132f79036431 100644 (file)
@@ -214,8 +214,7 @@ fd_read_body (int fd, FILE *out, wgint toread, wgint startpos,
      data arrives slowly. */
   int progress_interactive = 0;
 
-  /*int exact = flags & rb_read_exactly;*/
-  int exact = 1;
+  int exact = flags & rb_read_exactly;
   wgint skip = 0;
 
   /* How much data we've read/written.  */