aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/getinfo.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-04-19 23:31:50 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-04-19 23:31:50 +0200
commit5cd524df187cbb2414d518f8933894399edbf572 (patch)
tree072cb77e2242bfd35ca688dbc3bd00dc0c345493 /docs/examples/getinfo.c
parent94111bbbd4f2c875bc33c9c84f6e365c1a1434d7 (diff)
singleipconnect: return OK even when Curl_socket() fails
Commit 9109cdec11ee5a brought this regression (shipped since 7.24.0). The singleipconnect() function must not return an error if Curl_socket() returns an error. It should then simply return OK and pass a SOCKET_BAD back simply because that is how the user of this function expects it to work and something else is not fine. Reported by: Blaise Potard Bug: http://curl.haxx.se/bug/view.cgi?id=3516508
Diffstat (limited to 'docs/examples/getinfo.c')
0 files changed, 0 insertions, 0 deletions