From de5dce707cc60ace5b92d2ac61914c590cb9680b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 29 Jun 2013 18:16:23 +0000 Subject: rest of unused databases services removed git-svn-id: http://svn.miranda-ng.org/main/trunk@5181 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ExternalAPI/m_userinfoex.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_userinfoex.h b/plugins/ExternalAPI/m_userinfoex.h index 76be0cd8d3..a4d31bf5c7 100644 --- a/plugins/ExternalAPI/m_userinfoex.h +++ b/plugins/ExternalAPI/m_userinfoex.h @@ -337,8 +337,7 @@ static FORCEINLINE INT_PTR const char* pszProto, const char* pszSetting, DBVARIANT *dbv, - BYTE nType - ) + BYTE nType) { INT_PTR rc; DBCONTACTGETSETTING cgs; @@ -350,9 +349,8 @@ static FORCEINLINE INT_PTR rc = CallService(MS_DB_CONTACT_GETSETTING_STR_EX, (WPARAM)hContact, (LPARAM)&cgs); if (rc == CALLSERVICE_NOTFOUND) - { - rc = CallService(MS_DB_CONTACT_GETSETTING_STR, (WPARAM)hContact, (LPARAM)&cgs); - } + rc = db_get_s(hContact, pszProto, pszSetting, dbv, nType); + return rc; } -- cgit v1.2.3