summaryrefslogtreecommitdiff
path: root/src/modules/netlib
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-13 16:38:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-13 16:38:56 +0000
commitfa0c624cb29e204660c6af528c586984c092c2f2 (patch)
tree0811ab5c0e203922cad81e37f7616ce0d2153205 /src/modules/netlib
parentd8bbe6b4459415b6005b3609f444893fa3146e77 (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/modules/netlib')
-rw-r--r--src/modules/netlib/netlibautoproxy.cpp2
-rw-r--r--src/modules/netlib/netlibbind.cpp2
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, &param, &dwThreadId);
+ HANDLE hThread = (HANDLE)mir_forkthreadex(NetlibIeProxyThread, &param, &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;
}