diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-04-19 14:59:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-04-19 14:59:06 +0200 |
commit | 5c8521851f6f9c8b76e369ce87dd57e5ee6d38e7 (patch) | |
tree | b9c7308ca895fd13a6ff1e341ba0180b70110e07 /lib | |
parent | 6d3c9c8ab4754ea21622d65f11df403bbaf46e2d (diff) |
detect_proxy: only show proxy use if it had contents
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |