mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 17:18:48 -05:00
detect_proxy: only show proxy use if it had contents
This commit is contained in:
parent
6d3c9c8ab4
commit
5c8521851f
@ -2682,6 +2682,7 @@ static char *detect_proxy(struct connectdata *conn)
|
|||||||
proxy = curl_getenv(envp);
|
proxy = curl_getenv(envp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(proxy)
|
||||||
infof(conn->data, "Uses proxy env variable %s == '%s'\n", envp, proxy);
|
infof(conn->data, "Uses proxy env variable %s == '%s'\n", envp, proxy);
|
||||||
|
|
||||||
return proxy;
|
return proxy;
|
||||||
|
Loading…
Reference in New Issue
Block a user