diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-14 15:43:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-14 15:43:25 +0300 |
commit | 28b81bbed5d8db354349fd787c3db4123e55d423 (patch) | |
tree | 9861c246bdb7696c25adbbcd9f210dda430f846e /protocols/IcqOscarJ | |
parent | 4b933c7b73a4151872dea3119685cdebe40532c7 (diff) |
code cleaning
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_servlist.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/IcqOscarJ/src/icq_servlist.cpp b/protocols/IcqOscarJ/src/icq_servlist.cpp index 62f45998ee..ee70e8de8a 100644 --- a/protocols/IcqOscarJ/src/icq_servlist.cpp +++ b/protocols/IcqOscarJ/src/icq_servlist.cpp @@ -1268,7 +1268,7 @@ void CIcqProto::removeGroupPathLinks(WORD wGroupID) while (list) {
void* bet;
- db_unset(NULL, szModule, list[1]);
+ db_unset(0, szModule, list[1]);
SAFE_FREE((void**)&list[1]);
bet = list;
list = (char**)list[0];
@@ -1292,7 +1292,7 @@ char* CIcqProto::getServListGroupName(WORD wGroupID) if (!CheckServerID(wGroupID, 0)) { // check if valid id, if not give empty and remove
debugLogA("Removing group %u from cache...", wGroupID);
- db_unset(NULL, szModule, szGroup);
+ db_unset(0, szModule, szGroup);
return nullptr;
}
@@ -1315,7 +1315,7 @@ void CIcqProto::setServListGroupName(WORD wGroupID, const char *szGroupName) if (szGroupName)
db_set_utf(NULL, szModule, szGroup, szGroupName);
else {
- db_unset(NULL, szModule, szGroup);
+ db_unset(0, szModule, szGroup);
removeGroupPathLinks(wGroupID);
}
}
@@ -1329,7 +1329,7 @@ WORD CIcqProto::getServListGroupLinkID(const char *szPath) if (wGroupId && !CheckServerID(wGroupId, 0)) { // known, check if still valid, if not remove
debugLogA("Removing group \"%s\" from cache...", szPath);
- db_unset(NULL, szModule, szPath);
+ db_unset(0, szModule, szPath);
wGroupId = 0;
}
@@ -1344,7 +1344,7 @@ void CIcqProto::setServListGroupLinkID(const char *szPath, WORD wGroupID) if (wGroupID)
db_set_w(0, szModule, szPath, wGroupID);
else
- db_unset(NULL, szModule, szPath);
+ db_unset(0, szModule, szPath);
}
// determine if the specified clist group path exists
|