[svn] GnuPG - r3951 - trunk/keyserver

svn author dshaw cvs at cvs.gnupg.org
Tue Dec 6 19:49:35 CET 2005


Author: dshaw
Date: 2005-12-06 19:49:34 +0100 (Tue, 06 Dec 2005)
New Revision: 3951

Modified:
   trunk/keyserver/ChangeLog
   trunk/keyserver/curl-shim.c
Log:
* curl-shim.c (curl_easy_perform): Fix build warning (code before
declaration).


Modified: trunk/keyserver/ChangeLog
===================================================================
--- trunk/keyserver/ChangeLog	2005-12-06 18:24:57 UTC (rev 3950)
+++ trunk/keyserver/ChangeLog	2005-12-06 18:49:34 UTC (rev 3951)
@@ -1,3 +1,8 @@
+2005-12-06  David Shaw  <dshaw at jabberwocky.com>
+
+	* curl-shim.c (curl_easy_perform): Fix build warning (code before
+	declaration).
+
 2005-11-02  David Shaw  <dshaw at jabberwocky.com>
 
 	* gpgkeys_hkp.c (search_key): Fix warning with typecast (though

Modified: trunk/keyserver/curl-shim.c
===================================================================
--- trunk/keyserver/curl-shim.c	2005-12-06 18:24:57 UTC (rev 3950)
+++ trunk/keyserver/curl-shim.c	2005-12-06 18:49:34 UTC (rev 3951)
@@ -201,9 +201,10 @@
 		  while((len=iobuf_read_line(curl->hd.fp_read,
 					     &line,&buflen,&maxlen)))
 		    {
-		      maxlen=1024;
 		      size_t ret;
 
+		      maxlen=1024;
+
 		      ret=(curl->writer)(line,len,1,curl->file);
 		      if(ret!=len)
 			{




More information about the Gnupg-commits mailing list