diff options
-rw-r--r-- | utilities.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 %) } |