multi: Set read socket when returning READSOCK(0)
authorBjörn Stenberg <bjst@bjorn>
Mon, 11 Nov 2013 22:43:48 +0000 (23:43 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Mon, 11 Nov 2013 23:41:44 +0000 (23:41 +0000)
commitfa1253aee1847bd24cbc1d23e5579d823fc16d2a
tree9587dd8319d69b352b88c0fc0d07a10e1bf73f55
parentf833f54979e5425b932a5f3a5009ce21f28f3a5a
multi: Set read socket when returning READSOCK(0)

This patch fixes and issue introduced in commit 7d7df831981fee, if the
tunnel state was TUNNEL_CONNECT, waitconnect_getsock() would return a
bitmask indicating a readable socket but never stored the socket in the
return array.
lib/multi.c