From e0541caf997ee59ed3d06485001476fcca429f86 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 10 Jul 2013 20:25:14 +0000 Subject: protocol DB helpers for MSN git-svn-id: http://svn.miranda-ng.org/main/trunk@5319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_soapab.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'protocols/MSN/src/msn_soapab.cpp') diff --git a/protocols/MSN/src/msn_soapab.cpp b/protocols/MSN/src/msn_soapab.cpp index 9dce4dbdae..d072097b6b 100644 --- a/protocols/MSN/src/msn_soapab.cpp +++ b/protocols/MSN/src/msn_soapab.cpp @@ -102,9 +102,9 @@ void CMsnProto::UpdateABHost(const char* service, const char* url) mir_snprintf(hostname, sizeof(hostname), "ABHost-%s", service); if (url) - setString(NULL, hostname, url); + setString(hostname, url); else - deleteSetting(NULL, hostname); + delSetting(hostname); } void CMsnProto::UpdateABCacheKey(ezxml_t bdy, bool isSharing) @@ -612,7 +612,7 @@ bool CMsnProto::MSN_SharingMyProfile(bool allowRecurse) void CMsnProto::SetAbParam(HANDLE hContact, const char *name, const char *par) { if (*par) setStringUtf(hContact, name, (char*)par); -// else deleteSetting(hContact, "FirstName"); +// else delSetting(hContact, "FirstName"); } // "ABFindAll", "ABFindByContacts", "ABFindContactsPaged" @@ -859,7 +859,7 @@ bool CMsnProto::MSN_ABFind(const char* szMethod, const char* szGuid, bool deltas break; default: - deleteSetting(hContact, "Transport"); + delSetting(hContact, "Transport"); } szTmp = ezxml_txt(ezxml_child(contInf, "CID")); @@ -887,9 +887,9 @@ bool CMsnProto::MSN_ABFind(const char* szMethod, const char* szGuid, bool deltas } else { - // deleteSetting(hContact, "BirthYear"); - // deleteSetting(hContact, "BirthMonth"); - // deleteSetting(hContact, "BirthDay"); + // delSetting(hContact, "BirthYear"); + // delSetting(hContact, "BirthMonth"); + // delSetting(hContact, "BirthDay"); } szTmp = ezxml_txt(ezxml_child(contInf, "comment")); -- cgit v1.2.3