summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Yahoo/services.cpp')
-rw-r--r--protocols/Yahoo/services.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Yahoo/services.cpp b/protocols/Yahoo/services.cpp
index 2ea817d279..40166100ed 100644
--- a/protocols/Yahoo/services.cpp
+++ b/protocols/Yahoo/services.cpp
@@ -31,7 +31,7 @@
void CYahooProto::logoff_buddies()
{
//set all contacts to 'offline'
- HANDLE hContact = ( HANDLE )CallService( MS_DB_CONTACT_FINDFIRST, 0, 0 );
+ HANDLE hContact = db_find_first();
while ( hContact != NULL )
{
if (IsMyContact(hContact)) {
@@ -45,7 +45,7 @@ void CYahooProto::logoff_buddies()
//DBDeleteContactSetting(hContact, m_szModuleName, "MirVer" );
}
- hContact = ( HANDLE )CallService( MS_DB_CONTACT_FINDNEXT,( WPARAM )hContact, 0 );
+ hContact = db_find_next(hContact);
}
}