Re: [dev] [surf] revision 175 breaks proxy support

From: anonymous <aim0shei_AT_lavabit.com>
Date: Wed, 10 Mar 2010 23:24:38 +0300

Better fix:

diff -r 688bf1f96927 surf.c
--- a/surf.c Mon Mar 08 10:06:32 2010 +0100
+++ b/surf.c Wed Mar 10 23:24:05 2010 +0300
@@ -675,7 +675,6 @@
 
 void
 setup(void) {
- SoupSession *s;
         char *proxy;
         char *new_proxy;
         SoupURI *puri;
@@ -703,7 +702,7 @@
                         g_strdup_printf("http://%s", proxy);
 
                 puri = soup_uri_new(new_proxy);
- g_object_set(G_OBJECT(s), "proxy-uri", puri, NULL);
+ g_object_set(G_OBJECT(session), "proxy-uri", puri, NULL);
                 soup_uri_free(puri);
                 g_free(new_proxy);
         }
Received on Wed Mar 10 2010 - 20:24:38 UTC

This archive was generated by hypermail 2.2.0 : Wed Mar 10 2010 - 20:36:03 UTC