summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/fam_13servclist.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-30 16:26:36 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-30 16:26:36 +0000
commit8c85373fcb86aae9a09e19cae045fa667ba929a4 (patch)
tree6e9d763efadca018c658b7ece8c100ac86e4e70f /protocols/IcqOscarJ/src/fam_13servclist.cpp
parent540f5010d9ebdec65b09bdc71fcd6cdf2010beaf (diff)
some helpers wiped out of ICQ
git-svn-id: http://svn.miranda-ng.org/main/trunk@2567 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/fam_13servclist.cpp')
-rw-r--r--protocols/IcqOscarJ/src/fam_13servclist.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/IcqOscarJ/src/fam_13servclist.cpp b/protocols/IcqOscarJ/src/fam_13servclist.cpp
index 8afbe40c13..c41a68c3f1 100644
--- a/protocols/IcqOscarJ/src/fam_13servclist.cpp
+++ b/protocols/IcqOscarJ/src/fam_13servclist.cpp
@@ -930,7 +930,7 @@ void CIcqProto::handleServerCListReply(BYTE *buf, WORD wLen, WORD wFlags, server
else
NetLog_Server("SSI ignoring existing contact '%s'", szRecordName);
// Contact on server is always on list
- DBWriteContactSettingByte(hContact, "CList", "NotOnList", 0);
+ db_set_b(hContact, "CList", "NotOnList", 0);
}
// Save group and item ID
@@ -1015,7 +1015,7 @@ void CIcqProto::handleServerCListReply(BYTE *buf, WORD wLen, WORD wFlags, server
{
// Yes, we really do need to delete it first. Otherwise the CLUI nick
// cache isn't updated (I'll look into it)
- DBDeleteContactSetting(hContact,"CList","MyHandle");
+ db_unset(hContact,"CList","MyHandle");
setSettingStringUtf(hContact, "CList", "MyHandle", pszNick);
}
}
@@ -1023,7 +1023,7 @@ void CIcqProto::handleServerCListReply(BYTE *buf, WORD wLen, WORD wFlags, server
}
else if (strlennull(pszNick) > 0)
{
- DBDeleteContactSetting(hContact,"CList","MyHandle");
+ db_unset(hContact,"CList","MyHandle");
setSettingStringUtf(hContact, "CList", "MyHandle", pszNick);
}
}
@@ -1522,7 +1522,7 @@ void CIcqProto::handleServerCListItemUpdate(const char *szRecordName, WORD wGrou
icq_QueueUser(hContact);
}
- ICQFreeVariant(&dbv);
+ db_free(&dbv);
}
else if (pToken)
{
@@ -1568,7 +1568,7 @@ void CIcqProto::handleServerCListItemUpdate(const char *szRecordName, WORD wGrou
NetLog_Server("Owner meta info token changed");
}
- ICQFreeVariant(&dbv);
+ db_free(&dbv);
}
if (pToken)
@@ -1661,7 +1661,7 @@ void CIcqProto::handleRecvAuthRequest(unsigned char *buf, WORD wLen)
else if (!getSettingString(hContact, "Nick", &dbv))
{
szNick = null_strdup(dbv.pszVal);
- ICQFreeVariant(&dbv);
+ db_free(&dbv);
}
}
else
@@ -1918,7 +1918,7 @@ void CIcqProto::updateServAvatarHash(BYTE *pHash, int size)
/** add code to remove old hash from server */
bResetHash = 1;
}
- ICQFreeVariant(&dbvHash);
+ db_free(&dbvHash);
}
if (bResetHash) // start update session