diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-06 18:58:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-06 18:58:49 +0000 |
commit | 665ab2181d58fa5c82f598c1188408f8711b1f0d (patch) | |
tree | 4c362903878a19ec9aaf32bc92a3516a17564b52 /plugins/mRadio/i_service.inc | |
parent | 7fc9837e1f9bbd0f0687fea96cda8dfbf4c1932b (diff) |
mir_forkthead doesn't return a closeable thread handle, no need to call CreateThread to close it
git-svn-id: http://svn.miranda-ng.org/main/trunk@3907 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/mRadio/i_service.inc')
-rw-r--r-- | plugins/mRadio/i_service.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mRadio/i_service.inc b/plugins/mRadio/i_service.inc index 4f12544a81..05072dfd94 100644 --- a/plugins/mRadio/i_service.inc +++ b/plugins/mRadio/i_service.inc @@ -99,7 +99,7 @@ begin if (ccs^.hContact<>0) and (PluginStatus=ID_STATUS_ONLINE) and
(DBReadWord(ccs^.hContact,PluginName,optStatus,ID_STATUS_OFFLINE)=ID_STATUS_ONLINE) then
begin
- CloseHandle(mir_forkthread(@GetAwayMsgProc,pointer(ccs^.hContact)));
+ mir_forkthread(@GetAwayMsgProc,pointer(ccs^.hContact));
result:=AckHandle;
end
else
@@ -202,7 +202,7 @@ begin Asks protocol for the status message for a status
wParam=(WORD) 0 for current status or a status id
lParam=SGMA_xxx
- Returns status msg or NULL if there is none. The protocol have to handle only the current
+ Returns status msg or NULL if there is none. The protocol have to handle only the current
status. Handling messages for other statuses is optional.
Remember to mir_free the return value
}
|