From b2ad06272d08e5c9f0eb0861648d0bf2455c1a28 Mon Sep 17 00:00:00 2001 From: Micah Cowan Date: Tue, 22 Apr 2008 23:07:19 -0700 Subject: [PATCH] Make http.c's handling of --quiet --server-response consistent with ftp.c's. --- src/ChangeLog | 7 +++++++ src/http.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- 2.39.2