Fix last commit
authorWerner Koch <wk@gnupg.org>
Wed, 19 Dec 2012 12:57:29 +0000 (13:57 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 19 Dec 2012 12:57:29 +0000 (13:57 +0100)
* util/http.c (connect_server): Bump SRVINDEX and not SRV.

util/http.c

index bab9796..b72489b 100644 (file)
@@ -925,7 +925,7 @@ connect_server( const char *server, ushort port, unsigned int flags,
 
 #else /* !HAVE_GETADDRINFO */
 
-  for(srvindex=0; srvindex < srvcount; srv++)
+  for(srvindex=0; srvindex < srvcount; srvindex++)
     {
       int i=0;
       struct hostent *host=NULL;