From: hniksic Date: Sun, 9 Nov 2003 01:05:35 +0000 (-0800) Subject: [svn] Mark clearly where the response begins and ends in the debug output. X-Git-Tag: v1.13~1433 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=c4ba08110dd08afc70f8f3723907a4215fbbc53c [svn] Mark clearly where the response begins and ends in the debug output. --- diff --git a/src/http.c b/src/http.c index 7be33a63..ee8d4def 100644 --- a/src/http.c +++ b/src/http.c @@ -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");