[Xfce4-commits] <midori:master> Don't mention stripped referrers without MIDORI_DEBUG
Christian Dywan
noreply at xfce.org
Sun Apr 17 22:34:01 CEST 2011
Updating branch refs/heads/master
to ea264c31f6d6b1d95814c42e9c48ab4817468bab (commit)
from dc5f579d981a7a7d15f5e57de38aea3d8d5697d2 (commit)
commit ea264c31f6d6b1d95814c42e9c48ab4817468bab
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Apr 17 22:27:58 2011 +0200
Don't mention stripped referrers without MIDORI_DEBUG
midori/main.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/midori/main.c b/midori/main.c
index 91ca911..e9f2734 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -1014,7 +1014,8 @@ midori_soup_session_settings_accept_language_cb (SoupSession* session,
soup_uri_set_query (stripped_uri, NULL);
stripped_referer = soup_uri_to_string (stripped_uri, FALSE);
soup_uri_free (stripped_uri);
- g_message ("Referer stripped");
+ if (g_getenv ("MIDORI_SOUP_DEBUG"))
+ g_message ("Referer stripped");
soup_message_headers_replace (msg->request_headers, "Referer",
stripped_referer);
g_free (stripped_referer);
More information about the Xfce4-commits
mailing list