From: Micah Cowan Date: Wed, 23 Apr 2008 06:07:19 +0000 (-0700) Subject: Make http.c's handling of --quiet --server-response consistent with ftp.c's. X-Git-Tag: v1.13~421^2~23 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=b2ad06272d08e5c9f0eb0861648d0bf2455c1a28 Make http.c's handling of --quiet --server-response consistent with ftp.c's. --- diff --git a/src/ChangeLog b/src/ChangeLog index 120db1c3..5cd5761f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2008-04-22 Steven Schubiger + + * http.c (print_response_line): Changed to make responses always + be logged, even in --quiet mode, if --server-response was + specified. This is to bring http.c's handling of the situation + in line with ftp.c's. + 2008-04-22 Pranab Shenoy * init.c: Added test_commands_sorted unit test to check is diff --git a/src/http.c b/src/http.c index ec815c8f..a795bc5e 100644 --- a/src/http.c +++ b/src/http.c @@ -810,7 +810,7 @@ print_response_line(const char *prefix, const char *b, const char *e) { char *copy; BOUNDED_TO_ALLOCA(b, e, copy); - logprintf (LOG_VERBOSE, "%s%s\n", prefix, escnonprint(copy)); + logprintf (LOG_ALWAYS, "%s%s\n", prefix, escnonprint(copy)); } /* Print the server response, line by line, omitting the trailing CRLF