summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/utility.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/AimOscar/src/utility.cpp')
-rw-r--r--protocols/AimOscar/src/utility.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/AimOscar/src/utility.cpp b/protocols/AimOscar/src/utility.cpp
index 2e4ed835c3..1600e3dc3a 100644
--- a/protocols/AimOscar/src/utility.cpp
+++ b/protocols/AimOscar/src/utility.cpp
@@ -516,8 +516,7 @@ int CAimProto::deleteBuddyId(HANDLE hContact, int i)
{
char item[sizeof(AIM_KEY_BI)+10];
mir_snprintf(item, sizeof(AIM_KEY_BI)+10, AIM_KEY_BI"%d", i);
- delSetting(hContact, item);
- return 0;
+ return delSetting(hContact, item);
}
unsigned short CAimProto::getGroupId(HANDLE hContact, int i)
@@ -538,8 +537,7 @@ int CAimProto::deleteGroupId(HANDLE hContact, int i)
{
char item[sizeof(AIM_KEY_GI)+10];
mir_snprintf(item, sizeof(AIM_KEY_GI)+10, AIM_KEY_GI"%d", i);
- delSetting(hContact, item);
- return 0;
+ return delSetting(hContact, item);
}
/////////////////////////////////////////////////////////////////////////////////////////