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

Correct the trace for WinCE.

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