summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_contacts.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-08-13 17:39:30 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-08-13 17:39:30 +0000
commitea20be4475a06afea0da33b46ec5957f7b1ced99 (patch)
treed786924ded2b5eabf501897f03f1ff7632ca2aed /protocols/Tox/src/tox_contacts.cpp
parent1ea84dc56d95ceaf85c036127c5045eba0ad50ee (diff)
Tox:
- removed toxme.se from tox.ini - profile reading/saving with lock git-svn-id: http://svn.miranda-ng.org/main/trunk@14942 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_contacts.cpp')
-rw-r--r--protocols/Tox/src/tox_contacts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_contacts.cpp b/protocols/Tox/src/tox_contacts.cpp
index 7ce9442134..f6e99a5252 100644
--- a/protocols/Tox/src/tox_contacts.cpp
+++ b/protocols/Tox/src/tox_contacts.cpp
@@ -184,7 +184,7 @@ INT_PTR CToxProto::OnGrantAuth(WPARAM hContact, LPARAM)
if (!IsOnline())
return 0;
- ToxBinAddress pubKey = ptrA(getStringA(hContact, TOX_SETTINGS_ID));
+ ToxBinAddress pubKey(ptrA(getStringA(hContact, TOX_SETTINGS_ID)));
TOX_ERR_FRIEND_ADD error;
tox_friend_add_norequest(tox, pubKey, &error);
if (error != TOX_ERR_FRIEND_ADD_OK)