summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_search.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-12-21 19:33:45 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-12-21 19:33:45 +0000
commitb28e0f95010e0d4f20ae0b682e5ce590f0eb3d95 (patch)
treef5d886d00c2281c839b66ff3e14abb5d7a83d96e /protocols/Tox/src/tox_search.cpp
parentd46978c9ba808711f7b196382c4469050d8efa21 (diff)
Tox:
- fixed profile saving - tox address conversion moved to miranda's internal functions git-svn-id: http://svn.miranda-ng.org/main/trunk@15928 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_search.cpp')
-rw-r--r--protocols/Tox/src/tox_search.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_search.cpp b/protocols/Tox/src/tox_search.cpp
index 33479ba034..df15a4ab78 100644
--- a/protocols/Tox/src/tox_search.cpp
+++ b/protocols/Tox/src/tox_search.cpp
@@ -5,9 +5,7 @@ ToxHexAddress ResolveToxAddressFromDnsRecordV1(const std::string &dnsRecord)
std::smatch match;
std::regex regex("^v=tox1;id=([A-Fa-f0-9]{76})(;sign=(\\S+))?$");
if (std::regex_search(dnsRecord, match, regex))
- {
return ToxHexAddress(match[1]);
- }
return ToxHexAddress::Empty();
}