1
0
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:
David Shaw 2006-02-19 21:03:01 +00:00
parent 5b209e3e4a
commit ca6c57bc8a
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2006-02-14 Werner Koch <wk@gnupg.org>
* errors.c (g10_errstr): Add NO_DATA. * errors.c (g10_errstr): Add NO_DATA.

View File

@ -518,7 +518,7 @@ send_request( HTTP_HD hd, const char *auth, const char *proxy )
server = *hd->uri->host? hd->uri->host : "localhost"; server = *hd->uri->host? hd->uri->host : "localhost";
port = hd->uri->port? hd->uri->port : 80; port = hd->uri->port? hd->uri->port : 80;
if(proxy) if(proxy && *proxy)
{ {
PARSED_URI uri; PARSED_URI uri;