diff options
author | Björn Stenberg <bjorn@haxx.se> | 2013-11-12 21:09:03 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-11-14 19:56:59 +0000 |
commit | ed1662c374361adf8a3bd44be8490891f37e074a (patch) | |
tree | 7b1883e40bedb3fee8b49005915e31c5e3be56a3 /CMake/Utilities.cmake | |
parent | 1f0616ea1a89606c6fec7a0855dda12ef5c7a9be (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 'CMake/Utilities.cmake')
0 files changed, 0 insertions, 0 deletions