aboutsummaryrefslogtreecommitdiff
path: root/lib/nwos.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2013-11-12 21:09:03 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-11-14 19:56:59 +0000
commited1662c374361adf8a3bd44be8490891f37e074a (patch)
tree7b1883e40bedb3fee8b49005915e31c5e3be56a3 /lib/nwos.c
parent1f0616ea1a89606c6fec7a0855dda12ef5c7a9be (diff)
connect: Return the socket descriptor even on fail
singleipconnect() did not return the open socket descriptor on some errors, thereby sometimes causing a socket leak. This patch ensures the socket is always returned.
Diffstat (limited to 'lib/nwos.c')
0 files changed, 0 insertions, 0 deletions