diff options
author | Werner Koch <[email protected]> | 2012-12-19 12:57:29 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2012-12-19 12:57:29 +0000 |
commit | 58004340cc8c7124edc3c6866eec5478499b252e (patch) | |
tree | cb832ab94ecfa4397fa4421b249acac98c5e3511 | |
parent | Fix issue 1446: honor ports given in SRV responses. (diff) | |
download | gnupg-58004340cc8c7124edc3c6866eec5478499b252e.tar.gz gnupg-58004340cc8c7124edc3c6866eec5478499b252e.zip |
Fix last commit
* util/http.c (connect_server): Bump SRVINDEX and not SRV.
-rw-r--r-- | util/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |