From fa0c624cb29e204660c6af528c586984c092c2f2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 13 Jul 2012 16:38:56 +0000 Subject: bunch of incorrect thread calls git-svn-id: http://svn.miranda-ng.org/main/trunk@950 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/netlib/netlibautoproxy.cpp | 2 +- src/modules/netlib/netlibbind.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/netlib/netlibautoproxy.cpp b/src/modules/netlib/netlibautoproxy.cpp index e0428bf687..292a743109 100644 --- a/src/modules/netlib/netlibautoproxy.cpp +++ b/src/modules/netlib/netlibautoproxy.cpp @@ -354,7 +354,7 @@ char* NetlibGetIeProxy(char *szUrl) { unsigned dwThreadId; IeProxyParam param = { szUrl, szHost, NULL }; - HANDLE hThread = (HANDLE)forkthreadex(NULL, 0, NetlibIeProxyThread, 0, ¶m, &dwThreadId); + HANDLE hThread = (HANDLE)mir_forkthreadex(NetlibIeProxyThread, ¶m, &dwThreadId); WaitForSingleObject(hThread, INFINITE); CloseHandle(hThread); res = param.szProxy; diff --git a/src/modules/netlib/netlibbind.cpp b/src/modules/netlib/netlibbind.cpp index 7bb862f284..1a4970fe64 100644 --- a/src/modules/netlib/netlibbind.cpp +++ b/src/modules/netlib/netlibbind.cpp @@ -326,6 +326,6 @@ INT_PTR NetlibBindPort(WPARAM wParam, LPARAM lParam) } } - nlbp->hThread = (HANDLE)forkthreadex(NULL, 0, NetlibBindAcceptThread, 0, nlbp, &dwThreadId); + nlbp->hThread = (HANDLE)mir_forkthreadex(NetlibBindAcceptThread, nlbp, &dwThreadId); return (INT_PTR)nlbp; } -- cgit v1.2.3