summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_misc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:25:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:25:14 +0000
commite0541caf997ee59ed3d06485001476fcca429f86 (patch)
treef38a912ad271c7199c3bb386bc8f850e5d3d588b /protocols/MSN/src/msn_misc.cpp
parent1b8c910296597f394c0996017cfe4095fb55568d (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_misc.cpp')
-rw-r--r--protocols/MSN/src/msn_misc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/MSN/src/msn_misc.cpp b/protocols/MSN/src/msn_misc.cpp
index 183f50c6c0..4f84bc2556 100644
--- a/protocols/MSN/src/msn_misc.cpp
+++ b/protocols/MSN/src/msn_misc.cpp
@@ -232,7 +232,7 @@ void CMsnProto::MSN_GetAvatarFileName(HANDLE hContact, TCHAR* pszDest, size_t c
mir_free(szAvatarHash);
}
else {
- deleteSetting(hContact, "PictContext");
+ delSetting(hContact, "PictContext");
if (cbLen) pszDest[0] = 0;
}
db_free(&dbv);
@@ -382,8 +382,8 @@ int CMsnProto::MSN_SetMyAvatar(const TCHAR* sztFname, void* pData, size_t cbLen
char *szAvatarHash = arrayToHex(sha1d, sizeof(sha1d));
if (strcmp(szAvatarHashdOld, szAvatarHash))
{
- setString(NULL, "PictObject", szEncodedBuffer);
- setString(NULL, "AvatarHash", szAvatarHash);
+ setString("PictObject", szEncodedBuffer);
+ setString("AvatarHash", szAvatarHash);
}
mir_free(szAvatarHash);
}