From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 27 Dec 2012 15:48:01 +0000 (+0000)
Subject: Include the protocol when logging http:// requests with 'debug 1'
X-Git-Tag: v_3_0_20~109
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/developer-manual/static/@default-cgi@show-url-info?a=commitdiff_plain;h=acef385eb4fe9f69e929eb454e2420471b9f6ff5;p=privoxy.git

Include the protocol when logging  requests with 'debug 1'

Suggested by Martin Olsson in #3596294.
---

diff --git a/jcc.c b/jcc.c
index 2a8b02cf..97edc4ad 100644
--- a/jcc.c
+++ b/jcc.c
@@ -1,4 +1,4 @@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.420 2012/12/07 12:45:20 fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.421 2012/12/07 12:50:37 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@ -1839,7 +1839,7 @@ static void chat(struct client_state *csp)
    }
 
    log_applied_actions(csp->action);
-   log_error(LOG_LEVEL_GPC, "%s%s", http->hostport, http->path);
+   log_error(LOG_LEVEL_GPC, "%s", http->url);
 
    if (fwd->forward_host)
    {