]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Styled as per request 1268/head
authorAki Tuomi <cmouse@desteem.org>
Fri, 7 Feb 2014 07:49:50 +0000 (09:49 +0200)
committerAki Tuomi <cmouse@desteem.org>
Fri, 7 Feb 2014 07:49:50 +0000 (09:49 +0200)
pdns/recursor_cache.cc

index f404a17c92b540a6404736a4329ebec6f07ad135..5844df6a120a04e262abbfe9c7b816ddbdfdc0d1 100644 (file)
@@ -115,9 +115,7 @@ int MemRecursorCache::get(time_t now, const string &qname, const QType& qt, set<
     d_cachecache=d_cache.equal_range(tie(qname));
     d_cachecachevalid=true;
   }
-/*  else
-        cerr<<"had cache cache hit!"<<endl;
-    ;*/
+//  else cerr<<"had cache cache hit!"<<endl;
 
   if(res)
     res->clear();
@@ -239,8 +237,7 @@ void MemRecursorCache::replace(time_t now, const string &qname, const QType& qt,
     ce.d_auth = true;
     isNew=true;           // data should be sorted again
   }
-/*  else
-       cerr<<"\tNot nuking"<<endl; */
+//  else cerr<<"\tNot nuking"<<endl;
 
   // make sure we don't accidentally merge old and new unauth data
   if(!auth && !ce.d_auth) {