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 --- plugins/SeenPlugin/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SeenPlugin/utils.cpp') 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 -- cgit v1.2.3