gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 92/178: detect_proxy: only show proxy use if it had


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 92/178: detect_proxy: only show proxy use if it had contents
Date: Wed, 23 May 2018 12:25:27 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 5c8521851f6f9c8b76e369ce87dd57e5ee6d38e7
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Apr 19 14:59:06 2018 +0200

    detect_proxy: only show proxy use if it had contents
---
 lib/url.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/url.c b/lib/url.c
index 2491fa2da..eb1fc2220 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2682,7 +2682,8 @@ static char *detect_proxy(struct connectdata *conn)
       proxy = curl_getenv(envp);
     }
   }
-  infof(conn->data, "Uses proxy env variable %s == '%s'\n", envp, proxy);
+  if(proxy)
+    infof(conn->data, "Uses proxy env variable %s == '%s'\n", envp, proxy);
 
   return proxy;
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]