summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/fam_13servclist.cpp
diff options
context:
space:
mode:
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