get_destination_from_headers(): Merge two log messages into one
authorFabian Keil <fk@fabiankeil.de>
Sat, 16 Jan 2016 12:32:18 +0000 (12:32 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sat, 16 Jan 2016 12:32:18 +0000 (12:32 +0000)
parsers.c

index 9289c62..0d1388f 100644 (file)
--- 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;
 
 }