mirror of
https://github.com/curl/curl.git
synced 2026-07-02 19:47:16 +03:00
detect_proxy: only show proxy use if it had contents
This commit is contained in:
parent
6d3c9c8ab4
commit
5c8521851f
1 changed files with 2 additions and 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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue