summaryrefslogtreecommitdiff
path: root/protocols/Quotes/QuotesProviders.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Quotes/QuotesProviders.cpp')
-rw-r--r--protocols/Quotes/QuotesProviders.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Quotes/QuotesProviders.cpp b/protocols/Quotes/QuotesProviders.cpp
index 5fac2af14f..c7d6823cec 100644
--- a/protocols/Quotes/QuotesProviders.cpp
+++ b/protocols/Quotes/QuotesProviders.cpp
@@ -68,7 +68,7 @@ void CQuotesProviders::InitProviders()
const WORD nCurrentVersion = 17;
WORD nVersion = DBGetContactSettingWord(NULL,QUOTES_MODULE_NAME,LAST_RUN_VERSION,1);
- for(HANDLE hContact = reinterpret_cast<HANDLE>(CallService(MS_DB_CONTACT_FINDFIRST,0,0));hContact;hContact = reinterpret_cast<HANDLE>(CallService(MS_DB_CONTACT_FINDNEXT,reinterpret_cast<WPARAM>(hContact),0)))
+ for(HANDLE hContact = db_find_first(); hContact; hContact = db_find_next(hContact))
{
TQuotesProviderPtr pProvider = GetContactProviderPtr(hContact);
if(pProvider)