]> sjero.net Git - wget/commitdiff
[svn] Mark clearly where the response begins and ends in the debug output.
authorhniksic <devnull@localhost>
Sun, 9 Nov 2003 01:05:35 +0000 (17:05 -0800)
committerhniksic <devnull@localhost>
Sun, 9 Nov 2003 01:05:35 +0000 (17:05 -0800)
src/http.c

index 7be33a6343b940e9fedfc66542561888ff9fd82a..ee8d4defc25dbc864c3de48b5b0e62b9e6047fd5 100644 (file)
@@ -940,7 +940,7 @@ Accept: %s\r\n\
           post_content_type ? post_content_type : "",
           post_content_length ? post_content_length : "",
           opt.user_header ? opt.user_header : "");
-  DEBUGP (("---request begin---\n%s", request));
+  DEBUGP (("\n---request begin---\n%s", request));
 
   /* Free the temporary memory.  */
   xfree_null (wwwauth);
@@ -981,6 +981,9 @@ Accept: %s\r\n\
   rbuf_initialize (&rbuf, sock);
   all_headers = NULL;
   all_length = 0;
+
+  DEBUGP (("\n---response begin---\n"));
+
   /* Header-fetching loop.  */
   hcount = 0;
   while (1)
@@ -1160,6 +1163,7 @@ Accept: %s\r\n\
     done_header:
       xfree (hdr);
     }
+  DEBUGP (("---response end---\n"));
 
   logputs (LOG_VERBOSE, "\n");