mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
WinCE uses CreateThread(). Hence error is not in 'errno'.
This commit is contained in:
parent
25180cc850
commit
0f32460656
@ -542,7 +542,9 @@ static bool init_resolve_thread (struct connectdata *conn,
|
||||
#endif
|
||||
|
||||
if (!td->thread_hnd) {
|
||||
#ifndef _WIN32_WCE
|
||||
SetLastError(errno);
|
||||
#endif
|
||||
TRACE(("_beginthreadex() failed; %s\n", Curl_strerror(conn,errno)));
|
||||
Curl_destroy_thread_data(&conn->async);
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user