From: Kees Monshouwer Date: Mon, 8 Jun 2015 18:24:34 +0000 (+0200) Subject: no cerr X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~58^2~21^2~5^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66ddf73d3ad81aadc76a802b87cdeefd32045cec;p=thirdparty%2Fpdns.git no cerr --- diff --git a/modules/bindbackend/bindbackend2.cc b/modules/bindbackend/bindbackend2.cc index 8710219158..e64fa8cae2 100644 --- a/modules/bindbackend/bindbackend2.cc +++ b/modules/bindbackend/bindbackend2.cc @@ -886,11 +886,6 @@ void Bind2Backend::queueReloadAndStore(unsigned int id) bool Bind2Backend::findBeforeAndAfterUnhashed(BB2DomainInfo& bbd, const DNSName& qname, DNSName& unhashed, string& before, string& after) { shared_ptr records = bbd.d_records.get(); - -// BOOST_FOREACH(const Bind2DNSRecord& bdr, *records) { -// cerr<<"Hash: "<upper_bound(qname); if (before.empty()){ @@ -928,7 +923,7 @@ bool Bind2Backend::findBeforeAndAfterUnhashed(BB2DomainInfo& bbd, const DNSName& after = (iter)->qname.labelReverse().toString(" ",false); } - cerr<<"Before: '"<::const_iterator i=d_rrs.begin();i!=d_rrs.end();++i) if(rr.qname==i->qname && rr.qtype==i->qtype && rr.content==i->content) { return; } - cerr<<"added to d_rrs"<content<<"]"<content<<"]"<scopeMask); if(!pos->content.empty() && pos->qtype.getCode()==QType::TXT && pos->content[0]!='"') { diff --git a/pdns/dnswriter.cc b/pdns/dnswriter.cc index 917d1eb072..ddd8e357cb 100644 --- a/pdns/dnswriter.cc +++ b/pdns/dnswriter.cc @@ -199,13 +199,13 @@ DNSPacketWriter::nmap_t::iterator find(DNSPacketWriter::nmap_t& nmap, const DNSN // this is the absolute hottest function in the pdns recursor void DNSPacketWriter::xfrName(const DNSName& name, bool compress) { - cerr<<"xfrName: name=["< parts = name.getRawLabels(); // labelparts_t parts; - cerr<<"labelcount: "<first.toString()<<"]"<second<first.toString()<<"]"<second< 253) // chopped does not include a length octet for the first label and the root label throw MOADNSException("DNSPacketWriter::xfrName() found overly large (compressed) name"); uint16_t offset=li->second; @@ -246,13 +246,13 @@ void DNSPacketWriter::xfrName(const DNSName& name, bool compress) if(li==d_namemap.end() && pos< 16384) { // cerr<<"\tStoring a compression pointer to '"< 16384, won't work - cerr<<"stored ["<