diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-10-15 23:44:28 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-10-15 23:44:28 +0200 |
commit | 1a416cd27a37dac23a36063ced06ecc99fcd41e2 (patch) | |
tree | 2186953768b9544e8020e85fc1b5fb78cdf24e34 /src/tool_main.c | |
parent | 54ef47a5a0de388d0ace96cd1c354127888a374d (diff) |
singleipconnect: don't clobber errno
Save the errno value immediately after a connect() failure so that it
won't get reset to something else before we read it.
Bug: http://curl.haxx.se/mail/lib-2011-10/0066.html
Reported by: Frank Van Uffelen and Fabian Hiernaux
Diffstat (limited to 'src/tool_main.c')
0 files changed, 0 insertions, 0 deletions