mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
* http.c (send_request): A zero length proxy is the same as no proxy.
This commit is contained in:
parent
5b209e3e4a
commit
ca6c57bc8a
@ -1,3 +1,8 @@
|
||||
2006-02-19 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* http.c (send_request): A zero length proxy is the same as no
|
||||
proxy.
|
||||
|
||||
2006-02-14 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* errors.c (g10_errstr): Add NO_DATA.
|
||||
|
@ -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…
x
Reference in New Issue
Block a user