diff options
author | aunsane <aunsane@gmail.com> | 2017-02-25 22:59:30 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-02-25 22:59:30 +0300 |
commit | 5f2ea9e3aaa8e605a538b84786154db67fa6223b (patch) | |
tree | 939cc654cc28fba612c6345693dcecf10e818db0 /protocols/Tox | |
parent | b38b36d8cc4d5bffd84514c3089f952f9e115e40 (diff) |
Tox: extended log for #704
Diffstat (limited to 'protocols/Tox')
-rw-r--r-- | protocols/Tox/src/tox_avatars.cpp | 3 |
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;
}
|