diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-10 20:25:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-10 20:25:14 +0000 |
commit | e0541caf997ee59ed3d06485001476fcca429f86 (patch) | |
tree | f38a912ad271c7199c3bb386bc8f850e5d3d588b /protocols/MSN/src/msn_soapab.cpp | |
parent | 1b8c910296597f394c0996017cfe4095fb55568d (diff) |
protocol DB helpers for MSN
git-svn-id: http://svn.miranda-ng.org/main/trunk@5319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_soapab.cpp')
-rw-r--r-- | protocols/MSN/src/msn_soapab.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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"));
|