From 5b7b52a2858f0671739910a3745ad4fa96b10f8a Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sat, 16 Jan 2016 12:32:18 +0000 Subject: [PATCH] get_destination_from_headers(): Merge two log messages into one --- parsers.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/parsers.c b/parsers.c index 9289c623..0d1388f4 100644 --- a/parsers.c +++ b/parsers.c @@ -1,4 +1,4 @@ -const char parsers_rcs[] = "$Id: parsers.c,v 1.303 2016/01/16 12:29:00 fabiankeil Exp $"; +const char parsers_rcs[] = "$Id: parsers.c,v 1.304 2016/01/16 12:31:40 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.c,v $ @@ -4448,7 +4448,8 @@ jb_err get_destination_from_headers(const struct list *headers, struct http_requ return JB_ERR_MEMORY; } - log_error(LOG_LEVEL_HEADER, "Destination extracted from \"Host:\" header. New request URL: %s", + log_error(LOG_LEVEL_HEADER, + "Destination extracted from \"Host\" header. New request URL: %s", http->url); /* @@ -4467,9 +4468,6 @@ jb_err get_destination_from_headers(const struct list *headers, struct http_requ return JB_ERR_MEMORY; } - log_error(LOG_LEVEL_HEADER, "Faked request-Line: %s", - http->cmd); - return JB_ERR_OK; } -- 2.39.2