diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-13 16:38:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-13 16:38:56 +0000 |
commit | fa0c624cb29e204660c6af528c586984c092c2f2 (patch) | |
tree | 0811ab5c0e203922cad81e37f7616ce0d2153205 /src | |
parent | d8bbe6b4459415b6005b3609f444893fa3146e77 (diff) |
bunch of incorrect thread calls
git-svn-id: http://svn.miranda-ng.org/main/trunk@950 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/netlib/netlibautoproxy.cpp | 2 | ||||
-rw-r--r-- | src/modules/netlib/netlibbind.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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;
}
|