Skip to content
Snippets Groups Projects
Commit 0f324606 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

WinCE uses CreateThread(). Hence error is not in 'errno'.

parent 25180cc8
Branches
Tags
No related merge requests found
...@@ -542,7 +542,9 @@ static bool init_resolve_thread (struct connectdata *conn, ...@@ -542,7 +542,9 @@ static bool init_resolve_thread (struct connectdata *conn,
#endif #endif
if (!td->thread_hnd) { if (!td->thread_hnd) {
#ifndef _WIN32_WCE
SetLastError(errno); SetLastError(errno);
#endif
TRACE(("_beginthreadex() failed; %s\n", Curl_strerror(conn,errno))); TRACE(("_beginthreadex() failed; %s\n", Curl_strerror(conn,errno)));
Curl_destroy_thread_data(&conn->async); Curl_destroy_thread_data(&conn->async);
return FALSE; return FALSE;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment