]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Fix a comment, as suggested by Otto 9817/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 4 Dec 2020 16:17:24 +0000 (17:17 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 4 Dec 2020 16:17:24 +0000 (17:17 +0100)
pdns/recursor_cache.cc

index 0735f256dfe6ddeb57c825782764e5a5b05ab8b1..497147b97b726a7c43c2faf247ee0ab340d370e8 100644 (file)
@@ -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;