mirror of
https://github.com/monero-project/monero.git
synced 2025-05-12 05:05:06 -04:00
Merge pull request #4894
aee7a4e3
wallet_rpc_server: do not use RPC data if the call failed (moneromooo-monero)1a0733e5
windows_service: fix memory leak (moneromooo-monero)0dac3c64
unit_tests: do not rethrow a copy of an exception (moneromooo-monero)5d9915ab
cryptonote: fix get_unit for non default settings (moneromooo-monero)d4f50cb1
remove some unused code (moneromooo-monero)61163971
a few minor (but easy) performance tweaks (moneromooo-monero)30023074
tests: slow_memmem now returns size_t (moneromooo-monero)
This commit is contained in:
commit
81418cb281
30 changed files with 41 additions and 145 deletions
|
@ -303,7 +303,7 @@ std::vector<std::string> DNSResolver::get_record(const std::string& url, int rec
|
|||
// call DNS resolver, blocking. if return value not zero, something went wrong
|
||||
if (!ub_resolve(m_data->m_ub_context, string_copy(url.c_str()), record_type, DNS_CLASS_IN, &result))
|
||||
{
|
||||
dnssec_available = (result->secure || (!result->secure && result->bogus));
|
||||
dnssec_available = (result->secure || result->bogus);
|
||||
dnssec_valid = result->secure && !result->bogus;
|
||||
if (result->havedata)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue