summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-02-25 22:59:30 +0300
committeraunsane <aunsane@gmail.com>2017-02-25 22:59:30 +0300
commit5f2ea9e3aaa8e605a538b84786154db67fa6223b (patch)
tree939cc654cc28fba612c6345693dcecf10e818db0
parentb38b36d8cc4d5bffd84514c3089f952f9e115e40 (diff)
Tox: extended log for #704
-rw-r--r--protocols/Tox/src/tox_avatars.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_avatars.cpp b/protocols/Tox/src/tox_avatars.cpp
index 9dfdd36b69..76b59165c1 100644
--- a/protocols/Tox/src/tox_avatars.cpp
+++ b/protocols/Tox/src/tox_avatars.cpp
@@ -79,7 +79,6 @@ void CToxProto::SetToxAvatar(const wchar_t* path)
if (friendNumber == UINT32_MAX)
{
mir_free(data);
- debugLogA(__FUNCTION__": failed to set new avatar");
return;
}
@@ -88,7 +87,7 @@ void CToxProto::SetToxAvatar(const wchar_t* path)
if (error != TOX_ERR_FILE_SEND_OK)
{
mir_free(data);
- debugLogA(__FUNCTION__": failed to set new avatar");
+ debugLogA(__FUNCTION__": failed to set new avatar (%d)", error);
return;
}