Fix the fields in two debug lines
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 30 Sep 2016 11:19:18 +0000 (13:19 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Thu, 20 Oct 2016 12:00:42 +0000 (14:00 +0200)
pdns/syncres.cc

index a07145213dcad6b44644c4b451d3464960877a06..2f10ae52e421ea524fe6e04adc2828e5a160baed 100644 (file)
@@ -1290,8 +1290,8 @@ int SyncRes::doResolveAt(NsSet &nameservers, DNSName auth, bool flawedNSSet, con
            *const_cast<uint32_t*>(&record.d_ttl)=lowestTTL; // boom
         }
 
-       //      cout<<"Have "<<i->second.records.size()<<" records and "<<i->second.signatures.size()<<" signatures for "<<i->first.first;
-       //      cout<<'|'<<DNSRecordContent::NumberToType(i->first.second.getCode())<<endl;
+//             cout<<"Have "<<i->second.records.size()<<" records and "<<i->second.signatures.size()<<" signatures for "<<i->first.name;
+//             cout<<'|'<<DNSRecordContent::NumberToType(i->first.type)<<endl;
         if(i->second.records.empty()) // this happens when we did store signatures, but passed on the records themselves
           continue;
         t_RC->replace(d_now.tv_sec, i->first.name, QType(i->first.type), i->second.records, i->second.signatures, lwr.d_aabit, i->first.place == DNSResourceRecord::ANSWER ? ednsmask : boost::optional<Netmask>());