Updating branch refs/heads/master
         to 7e1f2655bc0fbb2cb8b0e82b1862f90c69b5b98f (commit)
       from be61f96bc28d6056b2f36a042b8b6cf9c638cbc3 (commit)

commit 7e1f2655bc0fbb2cb8b0e82b1862f90c69b5b98f
Author: Christian Dywan <[email protected]>
Date:   Sat Sep 1 18:25:44 2012 +0200

    Use remove() to remove Soup message header

 midori/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/main.c b/midori/main.c
index f9d87e0..3af3660 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -935,7 +935,7 @@ midori_soup_session_settings_accept_language_cb 
(SoupSession*       session,
 
         /* With HTTP, Host is optional. Strip to outsmart some filter proxies 
*/
         if (destination && destination->scheme == SOUP_URI_SCHEME_HTTP)
-            soup_message_headers_replace (msg->request_headers, "Host", NULL);
+            soup_message_headers_remove (msg->request_headers, "Host");
     }
 }
 
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to