summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_avatars.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-05-29 21:33:17 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-05-29 21:33:17 +0000
commita66281d8453edde56145e032e8d38db91580ba08 (patch)
treeefdddb6f765cf020502eed9139dab6767adb5d0b /protocols/Tox/src/tox_avatars.cpp
parent6c5621e08b28ff3c3db26726aafd827d354d6934 (diff)
Tox:
- reworked code related with address/public key - added tox_add_tcp_relay to bootstrap - updated tox core - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@13900 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_avatars.cpp')
-rw-r--r--protocols/Tox/src/tox_avatars.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_avatars.cpp b/protocols/Tox/src/tox_avatars.cpp
index 70bd8fd299..30132522ce 100644
--- a/protocols/Tox/src/tox_avatars.cpp
+++ b/protocols/Tox/src/tox_avatars.cpp
@@ -150,10 +150,12 @@ INT_PTR CToxProto::GetMyAvatar(WPARAM wParam, LPARAM lParam)
INT_PTR CToxProto::SetMyAvatar(WPARAM, LPARAM lParam)
{
+ debugLogA("CToxProto::SetMyAvatar: setting avatar");
TCHAR *path = (TCHAR*)lParam;
std::tstring avatarPath = GetAvatarFilePath();
if (path != NULL)
{
+ debugLogA("CToxProto::SetMyAvatar: copy new avatar");
if (!CopyFile(path, avatarPath.c_str(), FALSE))
{
debugLogA("CToxProto::SetMyAvatar: failed to copy new avatar to avatar cache");