summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin
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 /plugins/SeenPlugin
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 'plugins/SeenPlugin')
-rw-r--r--plugins/SeenPlugin/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SeenPlugin/utils.cpp b/plugins/SeenPlugin/utils.cpp
index 533882977e..74e688e54b 100644
--- a/plugins/SeenPlugin/utils.cpp
+++ b/plugins/SeenPlugin/utils.cpp
@@ -701,7 +701,7 @@ int UpdateValues(WPARAM wparam,LPARAM lparam)
strncpy(contactQueue[index]->sProtoName,cws->szModule,MAXMODULELABELLENGTH);
unsigned int dwThreadId;
- forkthreadex(NULL, 0, (pThreadFuncEx)waitThread, contactQueue[index], 0, &dwThreadId);
+ mir_forkthreadex((pThreadFuncEx)waitThread, contactQueue[index], &dwThreadId);
}
contactQueue[index]->courStatus = isIdleEvent ? DBGetContactSettingWord((HANDLE)wparam, cws->szModule, "Status", ID_STATUS_OFFLINE) : cws->value.wVal;
} }
@@ -789,7 +789,7 @@ int ModeChange(WPARAM wparam,LPARAM lparam)
info->courStatus = 0;
unsigned int dwThreadId;
- forkthreadex(NULL, 0, (pThreadFuncEx)cleanThread, info, 0, &dwThreadId);
+ mir_forkthreadex((pThreadFuncEx)cleanThread, info, &dwThreadId);
}
} else if ((isetting==ID_STATUS_OFFLINE)&&((WORD)ack->hProcess>ID_STATUS_OFFLINE)) {
//we have just loged-off