From: Otto Moerbeek Date: Mon, 8 Dec 2025 08:25:40 +0000 (+0100) Subject: Correct comment X-Git-Tag: rec-5.4.0-alpha1~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cb83c3ff13782a8f3abcecdf8f0212464081141;p=thirdparty%2Fpdns.git Correct comment Signed-off-by: Otto Moerbeek --- diff --git a/pdns/recursordist/recursor_cache.cc b/pdns/recursordist/recursor_cache.cc index a946ffda61..da217a66d4 100644 --- a/pdns/recursordist/recursor_cache.cc +++ b/pdns/recursordist/recursor_cache.cc @@ -465,7 +465,7 @@ time_t MemRecursorCache::get(time_t now, const DNSName& qname, const QType qtype auto entryAAAA = getEntryUsingECSIndex(*lockedShard, now, qname, QType::AAAA, requireAuth, who, serveStale); if (entryAAAA != lockedShard->d_map.end()) { if (authorityRecs != nullptr) { - // For the case the loop iterates multiple times + // For the case the first call filled authorityRecs *authorityRecs = s_emptyAuthRecs; } time_t ttdAAAA = handleHit(now, *lockedShard, entryAAAA, qname, origTTL, res, signatures, authorityRecs, variable, cachedState, wasAuth, fromAuthZone, extra);