summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-13 16:02:06 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-13 16:02:06 +0000
commit2004bbd144d64c640f25ef23ae76d1931f128ac6 (patch)
tree4f5c5f8d61e9b8374dfdb9b2738f8f9136f093ad /protocols
parentf128ed55b1c6e2f2c1ec3ee691662c0702297359 (diff)
Tox: fix case sensitive in dns search
git-svn-id: http://svn.miranda-ng.org/main/trunk@12790 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Tox/src/tox_search.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_search.cpp b/protocols/Tox/src/tox_search.cpp
index 62671f7ac7..cdfec2218e 100644
--- a/protocols/Tox/src/tox_search.cpp
+++ b/protocols/Tox/src/tox_search.cpp
@@ -69,7 +69,7 @@ void CToxProto::SearchByNameAsync(void *arg)
uint32_t requestId = 0;
uint8_t dnsString[MAX_PATH];
- size_t length = tox_generate_dns3_string(dns, dnsString, sizeof(dnsString), &requestId, (uint8_t*)name, (uint8_t)mir_strlen(name));
+ size_t length = tox_generate_dns3_string(dns, dnsString, sizeof(dnsString), &requestId, (uint8_t*)CharLowerA(name), (uint8_t)mir_strlen(name));
if (length != TOX_ERROR)
{
dnsString[length] = 0;