Roland Blom filed bug report #1481217
authorDaniel Stenberg <daniel@haxx.se>
Thu, 4 May 2006 22:39:47 +0000 (22:39 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 May 2006 22:39:47 +0000 (22:39 +0000)
commite85e30546c89e17b6fb0cf383de25b7ed7f3bf3d
tree2a1b3fd6b5c6a93bbae756e8dcea01c7c43fa198
parent758f6eed5169f20635c410077b840c1ffb741ddb
Roland Blom filed bug report #1481217
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini
and David Byron. libcurl previously wrongly used GetLastError() on windows to
get error details after socket-related function calls, when it really should
use WSAGetLastError() instead.

When changing to this, the former function Curl_ourerrno() is now instead
called Curl_sockerrno() as it is necessary to only use it to get errno from
socket-related functions as otherwise it won't work as intended on Windows.
18 files changed:
CHANGES
RELEASE-NOTES
lib/connect.c
lib/connect.h
lib/dict.c
lib/file.c
lib/ftp.c
lib/hostares.c
lib/hostasyn.c
lib/hostip.c
lib/hostip6.c
lib/hostsyn.c
lib/http.c
lib/http_negotiate.c
lib/sendf.c
lib/ssluse.c
lib/telnet.c
lib/tftp.c