Permalink
Browse files

Bug fix: assign the proxy when reading then environment variable HTTP…

…_PROXY
  • Loading branch information...
1 parent 007f91c commit 3805d7d8a4e1be60ed345ac1b5b9b4be691f926f @potyl committed Nov 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 screenshot.c
View
@@ -78,7 +78,7 @@ main (int argc, gchar* argv[]) {
gchar *proxy = getenv("http_proxy");
- if (proxy == NULL) getenv("HTTP_PROXY");
+ if (proxy == NULL) proxy = getenv("HTTP_PROXY");
if (proxy != NULL) {
SoupSession *session = webkit_get_default_session();
SoupURI *proxy_uri = soup_uri_new(proxy);

0 comments on commit 3805d7d

Please sign in to comment.