From 58004340cc8c7124edc3c6866eec5478499b252e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 19 Dec 2012 13:57:29 +0100 Subject: [PATCH] Fix last commit * util/http.c (connect_server): Bump SRVINDEX and not SRV. --- util/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/http.c b/util/http.c index bab979613..b72489bd2 100644 --- a/util/http.c +++ b/util/http.c @@ -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;