diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-13 16:02:06 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-13 16:02:06 +0000 |
commit | 2004bbd144d64c640f25ef23ae76d1931f128ac6 (patch) | |
tree | 4f5c5f8d61e9b8374dfdb9b2738f8f9136f093ad /protocols | |
parent | f128ed55b1c6e2f2c1ec3ee691662c0702297359 (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.cpp | 2 |
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;
|