Correct the trace for WinCE.
This commit is contained in:
parent
0f32460656
commit
725f734bae
@ -542,10 +542,12 @@ static bool init_resolve_thread (struct connectdata *conn,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!td->thread_hnd) {
|
if (!td->thread_hnd) {
|
||||||
#ifndef _WIN32_WCE
|
#ifdef _WIN32_WCE
|
||||||
|
TRACE(("CreateThread() failed; %s\n", Curl_strerror(conn,GetLastError())));
|
||||||
|
#else
|
||||||
SetLastError(errno);
|
SetLastError(errno);
|
||||||
#endif
|
|
||||||
TRACE(("_beginthreadex() failed; %s\n", Curl_strerror(conn,errno)));
|
TRACE(("_beginthreadex() failed; %s\n", Curl_strerror(conn,errno)));
|
||||||
|
#endif
|
||||||
Curl_destroy_thread_data(&conn->async);
|
Curl_destroy_thread_data(&conn->async);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user