mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
* http.c (send_request): A zero length proxy is the same as no proxy.
This commit is contained in:
parent
5b209e3e4a
commit
ca6c57bc8a
2 changed files with 6 additions and 1 deletions
|
@ -518,7 +518,7 @@ send_request( HTTP_HD hd, const char *auth, const char *proxy )
|
|||
server = *hd->uri->host? hd->uri->host : "localhost";
|
||||
port = hd->uri->port? hd->uri->port : 80;
|
||||
|
||||
if(proxy)
|
||||
if(proxy && *proxy)
|
||||
{
|
||||
PARSED_URI uri;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue