From 5f2ea9e3aaa8e605a538b84786154db67fa6223b Mon Sep 17 00:00:00 2001 From: aunsane Date: Sat, 25 Feb 2017 22:59:30 +0300 Subject: Tox: extended log for #704 --- protocols/Tox/src/tox_avatars.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/Tox') 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; } -- cgit v1.2.3