1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

fix: incorret log message in global-ip-cache.cc (#5769)

This commit is contained in:
tearfur 2023-07-12 11:16:46 +08:00 committed by GitHub
parent 78367c098f
commit 8d0788dd9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,7 +160,7 @@ tr_global_ip_cache::~tr_global_ip_cache()
global_addr_mutex_[TR_AF_INET], global_addr_mutex_[TR_AF_INET6], global_addr_mutex_[TR_AF_INET], global_addr_mutex_[TR_AF_INET6],
source_addr_mutex_[TR_AF_INET], source_addr_mutex_[TR_AF_INET6] }; source_addr_mutex_[TR_AF_INET], source_addr_mutex_[TR_AF_INET6] };
if (std::all_of( if (!std::all_of(
std::begin(is_updating_), std::begin(is_updating_),
std::end(is_updating_), std::end(is_updating_),
[](is_updating_t const& v) { return v == is_updating_t::ABORT; })) [](is_updating_t const& v) { return v == is_updating_t::ABORT; }))