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 /protocols | |
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 'protocols')
-rw-r--r-- | protocols/GTalkExt/inbox.cpp | 4 | ||||
-rw-r--r-- | protocols/Gadu-Gadu/libgadu/pthread.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/GTalkExt/inbox.cpp b/protocols/GTalkExt/inbox.cpp index dc556ddc6d..53a4aa2fcb 100644 --- a/protocols/GTalkExt/inbox.cpp +++ b/protocols/GTalkExt/inbox.cpp @@ -315,7 +315,7 @@ BOOL OpenUrlWithAuth(LPCSTR acc, LPCTSTR mailbox, LPCTSTR url) data->acc = acc;
- if (HANDLE h = mir_forkthreadex((pThreadFuncEx)OpenUrlThread, data, 0, NULL)) {
+ if (HANDLE h = mir_forkthreadex((pThreadFuncEx)OpenUrlThread, data, NULL)) {
CloseHandle(h);
data = NULL;
}
@@ -343,7 +343,7 @@ void StartShellExecuteThread(LPCTSTR url) {
LPTSTR urlCopy = _tcsdup(url);
__try {
- if (HANDLE h = mir_forkthreadex(ShellExecuteThread, urlCopy, 0, NULL)) {
+ if (HANDLE h = mir_forkthreadex(ShellExecuteThread, urlCopy, NULL)) {
CloseHandle(h);
urlCopy = NULL;
}
diff --git a/protocols/Gadu-Gadu/libgadu/pthread.c b/protocols/Gadu-Gadu/libgadu/pthread.c index ecaab64a4f..2496bb4964 100644 --- a/protocols/Gadu-Gadu/libgadu/pthread.c +++ b/protocols/Gadu-Gadu/libgadu/pthread.c @@ -29,7 +29,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. /* create thread */
int pthread_create(pthread_t *tid, const pthread_attr_t *attr, void *(__stdcall * thread_start) (void *), void *param)
{
- tid->hThread = (HANDLE)mir_forkthreadex((pThreadFuncEx)*(void**)&thread_start, param, 0, (unsigned *)&tid->dwThreadId);
+ tid->hThread = (HANDLE)mir_forkthreadex((pThreadFuncEx)*(void**)&thread_start, param, (unsigned *)&tid->dwThreadId);
return 0;
}
|