mirror of
https://github.com/curl/curl.git
synced 2026-06-12 19:05:37 +03:00
apply Jay's fix
This commit is contained in:
parent
4feb0954e0
commit
8246a0a113
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ curl_thread_t Curl_thread_create(CURL_THREAD_RETURN_T
|
|||
(CURL_STDCALL *func) (void *), void *arg)
|
||||
{
|
||||
curl_thread_t t = CreateThread(NULL, 0, func, arg, 0, NULL);
|
||||
if((t == 0) || (t == LongToHandle(-1L))) {
|
||||
if(!t) {
|
||||
#ifdef UNDER_CE
|
||||
DWORD gle = GetLastError();
|
||||
/* !checksrc! disable ERRNOVAR 1 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue