singleipconnect: simplify and clean up
authorDaniel Stenberg <daniel@haxx.se>
Thu, 31 Jan 2013 23:17:07 +0000 (00:17 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 Feb 2013 07:16:08 +0000 (08:16 +0100)
commit56b7c87c74d293ac37f42f5551be115710cb7eaf
treedeb786281ebe26488018d0697d318bf7c5604c24
parent32e8467a66778d3ffea64ff346d86bf4d9fd3db7
singleipconnect: simplify and clean up

Remove timeout argument that's never used.

Make the actual connection get detected on a single spot to reduce code
duplication.

Store the IPv6 state already when the connection is attempted.
lib/connect.c