diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-12-21 19:33:45 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-12-21 19:33:45 +0000 |
commit | b28e0f95010e0d4f20ae0b682e5ce590f0eb3d95 (patch) | |
tree | f5d886d00c2281c839b66ff3e14abb5d7a83d96e /protocols/Tox/src/tox_search.cpp | |
parent | d46978c9ba808711f7b196382c4469050d8efa21 (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.cpp | 2 |
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();
}
|