]> git.ipfire.org Git - thirdparty/squid.git/commit
Refactor peerRefreshDNS() to clarify its (void*)1 logic (#1950)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Tue, 19 Nov 2024 22:43:59 +0000 (22:43 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 20 Nov 2024 13:43:46 +0000 (13:43 +0000)
commitdd3292c92fab94317dce53ed9f147869cad8250c
tree608bd602a44c32707278e87c45266960fde6541e
parent22b2a7a0ae662809948adaea8b4d171b947634b5
Refactor peerRefreshDNS() to clarify its (void*)1 logic (#1950)

Creating a raw pointer with 1 as an address/value raised red flags, and
it was difficult to interpret tricky peerRefreshDNS() logic correctly.
src/neighbors.cc