[svn] GnuPG - r4007 - trunk/util

svn author dshaw cvs at cvs.gnupg.org
Sun Feb 19 22:03:02 CET 2006


Author: dshaw
Date: 2006-02-19 22:03:01 +0100 (Sun, 19 Feb 2006)
New Revision: 4007

Modified:
   trunk/util/ChangeLog
   trunk/util/http.c
Log:
* http.c (send_request): A zero length proxy is the same as no proxy.


Modified: trunk/util/ChangeLog
===================================================================
--- trunk/util/ChangeLog	2006-02-19 02:08:43 UTC (rev 4006)
+++ trunk/util/ChangeLog	2006-02-19 21:03:01 UTC (rev 4007)
@@ -1,3 +1,8 @@
+2006-02-19  David Shaw  <dshaw at jabberwocky.com>
+
+	* http.c (send_request): A zero length proxy is the same as no
+	proxy.
+
 2006-02-14  Werner Koch  <wk at gnupg.org>
 
 	* errors.c (g10_errstr): Add NO_DATA.

Modified: trunk/util/http.c
===================================================================
--- trunk/util/http.c	2006-02-19 02:08:43 UTC (rev 4006)
+++ trunk/util/http.c	2006-02-19 21:03:01 UTC (rev 4007)
@@ -518,7 +518,7 @@
     server = *hd->uri->host? hd->uri->host : "localhost";
     port   = hd->uri->port?  hd->uri->port : 80;
 
-    if(proxy)
+    if(proxy && *proxy)
       {
 	PARSED_URI uri;
 




More information about the Gnupg-commits mailing list