From: Remi Gacogne Date: Fri, 4 Dec 2020 16:17:24 +0000 (+0100) Subject: rec: Fix a comment, as suggested by Otto X-Git-Tag: rec-4.5.0-alpha1~83^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9817%2Fhead;p=thirdparty%2Fpdns.git rec: Fix a comment, as suggested by Otto --- diff --git a/pdns/recursor_cache.cc b/pdns/recursor_cache.cc index 0735f256df..497147b97b 100644 --- a/pdns/recursor_cache.cc +++ b/pdns/recursor_cache.cc @@ -421,7 +421,7 @@ void MemRecursorCache::replace(time_t now, const DNSName &qname, const QType& qt } if (auth) { - /* only if the new entry is auth, we don't want to keep non-auth entry while we have a auth one */ + /* we don't want to keep a non-auth entry while we have an auth one */ if (vStateIsBogus(state) && (!vStateIsBogus(ce.d_state) && ce.d_state != vState::Indeterminate) && ce.d_ttd > now) { /* the new entry is Bogus, the existing one is not and is still valid, let's keep the existing one */ return;