1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Make http.c's handling of --quiet --server-response consistent with ftp.c's.

This commit is contained in:
Micah Cowan 2008-04-22 23:07:19 -07:00
parent 1297ab8328
commit b2ad06272d
2 changed files with 8 additions and 1 deletions

View 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

View 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