summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_profile.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-04-27 12:44:53 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-04-27 12:44:53 +0000
commit6524ac4e637dba2de42df5ca6eac4a9a5501a4d2 (patch)
tree7dcf19e3e117b2cd5479615f12425518cb7fe3d8 /protocols/Tox/src/tox_profile.cpp
parent497a5b44f0784b488ede3e450cdb2b281c7a86d8 (diff)
Tox:
- attempt to fix avatar hash - some changes with toxThread git-svn-id: http://svn.miranda-ng.org/main/trunk@16773 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_profile.cpp')
-rw-r--r--protocols/Tox/src/tox_profile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_profile.cpp b/protocols/Tox/src/tox_profile.cpp
index c8d93c4a26..556d017144 100644
--- a/protocols/Tox/src/tox_profile.cpp
+++ b/protocols/Tox/src/tox_profile.cpp
@@ -104,9 +104,9 @@ void CToxProto::SaveToxProfile(CToxThread *toxThread)
if (!toxThread)
return;
- size_t size = tox_get_savedata_size(toxThread->tox);
+ size_t size = tox_get_savedata_size(toxThread->Tox());
uint8_t *data = (uint8_t*)mir_calloc(size + TOX_PASS_ENCRYPTION_EXTRA_LENGTH);
- tox_get_savedata(toxThread->tox, data);
+ tox_get_savedata(toxThread->Tox(), data);
pass_ptrA password(mir_utf8encodeW(pass_ptrT(getTStringA("Password"))));
if (password && mir_strlen(password))