summaryrefslogtreecommitdiff
path: root/protocols/Tox
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-10-04 16:51:24 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-10-04 16:51:24 +0000
commitb2e8a494c50aed30188fe9dbd185ddca1628f656 (patch)
tree522bc92b82a7ee95281b9e65af3806d1b49aa635 /protocols/Tox
parent9a942c19b93060396982b19a665a231e11324ebf (diff)
crash fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@10688 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox')
-rw-r--r--protocols/Tox/src/tox_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp
index ea60618fac..257f8a371c 100644
--- a/protocols/Tox/src/tox_proto.cpp
+++ b/protocols/Tox/src/tox_proto.cpp
@@ -85,7 +85,7 @@ MCONTACT __cdecl CToxProto::AddToList(int flags, PROTOSEARCHRESULT* psr)
return NULL;
}
// set tox address as contact id
- return AddContact(address, psr->email, flags & PALF_TEMPORARY);
+ return AddContact(address, _T(""), flags & PALF_TEMPORARY);
}
MCONTACT __cdecl CToxProto::AddToListByEvent(int flags, int iContact, HANDLE hDbEvent)