From 907f341825ad56ca4ea3e5a7e4410a40d28f7818 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sat, 3 Jul 2010 03:16:11 +0300 Subject: modified: utilities.cpp --- utilities.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utilities.cpp') diff --git a/utilities.cpp b/utilities.cpp index b1d3415..6354dce 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -74,7 +74,7 @@ struct hContact_entry void RemoveExcludedUsers() { HANDLE hContact; - hContact_entry first, *plist; + hContact_entry first, *plist, *tmp; hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDFIRST, 0, 0); plist = &first; plist->hContact = INVALID_HANDLE_VALUE; @@ -96,7 +96,7 @@ void RemoveExcludedUsers() while(plist->hContact != INVALID_HANDLE_VALUE) { CallService(MS_DB_CONTACT_DELETE, (WPARAM)plist->hContact, 0); - hContact_entry *tmp = plist; + tmp = plist; plist = plist->next; // delete tmp; //something wrong here %) } -- cgit v1.2.3