summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metacontacts/meta_services.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/metacontacts/meta_services.c b/metacontacts/meta_services.c
index 0a3b91e..cf33c18 100644
--- a/metacontacts/meta_services.c
+++ b/metacontacts/meta_services.c
@@ -160,7 +160,7 @@ int Meta_LoadIcon(WPARAM wParam,LPARAM lParam)
//static DWORD CALLBACK SetStatusThread( LPVOID param )
-void CALLBACK SetStatusThread(HWND hWnd, UINT msg, UINT_PTR ip, DWORD dw)
+void CALLBACK SetStatusThread(HWND hWnd, UINT msg, UINT_PTR id, DWORD dw)
{
previousMode = mcStatus;
@@ -171,6 +171,7 @@ void CALLBACK SetStatusThread(HWND hWnd, UINT msg, UINT_PTR ip, DWORD dw)
ProtoBroadcastAck(META_PROTO,NULL,ACKTYPE_STATUS,ACKRESULT_SUCCESS, (HANDLE)previousMode, mcStatus);
//return 0;
+ KillTimer(0, setStatusTimerId);
}
/** Changes the status and notifies everybody