From c7417593521a2a96442e97508354e32f502bd931 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Wed, 27 Oct 2010 06:31:24 +0300 Subject: random key generation --- init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.cpp') diff --git a/init.cpp b/init.cpp index 137c879..a8fcaf1 100644 --- a/init.cpp +++ b/init.cpp @@ -231,7 +231,7 @@ static int OnModulesLoaded(WPARAM wParam,LPARAM lParam) extern list transfers; extern "C" int __declspec(dllexport) Unload(void) -{ +{ for (HANDLE hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDFIRST, 0, 0); hContact; hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDNEXT, (WPARAM)hContact, 0)) DBDeleteContactSetting(hContact, szGPGModuleName, "KeyID_Prescense"); if(!transfers.empty()) -- cgit v1.2.3