Show if the proxy could not be set.
authorDaniel Carl <danielcarl@gmx.de>
Fri, 23 Aug 2013 13:48:50 +0000 (15:48 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 23 Aug 2013 13:48:50 +0000 (15:48 +0200)
src/setting.c

index 1d7f97b..11d6cd7 100644 (file)
@@ -633,6 +633,9 @@ static gboolean proxy(const Setting *s, const SettingType type)
 
             soup_uri_free(proxy_uri);
             g_free(proxy_new);
+        } else {
+            /* inform the customer that the proxy could not be set */
+            return false;
         }
     } else {
         g_object_set(vb.session, "proxy-uri", NULL, NULL);