singleipconnect: unstick the ipv6-connection boolean
authorDaniel Stenberg <daniel@haxx.se>
Mon, 17 Oct 2011 20:01:09 +0000 (22:01 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 17 Oct 2011 21:12:58 +0000 (23:12 +0200)
commitecbb08cea3cd67406c49572eeb4f456dfc94cca2
treebab366862315be33a94aa9e5f79c12826c5060e8
parent491c5a497cc4cab0a488a0c94eec7d518d57d304
singleipconnect: unstick the ipv6-connection boolean

Previously the bit was set before the connection was found working so if
it would first fail to an ipv6 address and then connect fine to a IPv4
address the variable would still be TRUE.

Reported by: Thomas L. Shinnick
Bug: http://curl.haxx.se/bug/view.cgi?id=3421912
lib/connect.c