]> sjero.net Git - wget/commitdiff
Make http.c's handling of --quiet --server-response consistent with ftp.c's.
authorMicah Cowan <micah@cowan.name>
Wed, 23 Apr 2008 06:07:19 +0000 (23:07 -0700)
committerMicah Cowan <micah@cowan.name>
Wed, 23 Apr 2008 06:07:19 +0000 (23:07 -0700)
src/ChangeLog
src/http.c

index 120db1c3593cb4232545c1e08422048add0b0093..5cd5761f37c662c17f2a9c1db784ba42c541e9b2 100644 (file)
@@ -1,3 +1,10 @@
+2008-04-22  Steven Schubiger  <schubiger@gmail.com>
+
+       * 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  <pranab.loosinit.shenoy@gmail.com>
 
        * init.c: Added test_commands_sorted unit test to check is
index ec815c8ff5061dddc36ebdfbe7073f630185b473..a795bc5e69811319dea1351a79dae9b744be7259 100644 (file)
@@ -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