From 5294e503c4902d19f112634e9b021a5029031d1d Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 6 Jul 2020 15:04:32 +0200 Subject: [PATCH] Use new operator to print states --- pdns/pdns_recursor.cc | 3 +-- pdns/syncres.cc | 38 +++++++++++++++++++------------------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 73bcc4f719..45a13651f5 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1904,9 +1904,8 @@ static void startDoResolve(void *p) sr.d_throttledqueries<<" throttled, "<getZoneRepresentation()<<"', validation state is "<getZoneRepresentation()<<"', validation state is "<beenthere; vState cnameState = Indeterminate; res = doResolve(newTarget, qtype, ret, depth+1, beenthere, cnameState); - LOG(prefix<& records, const void SyncRes::updateValidationState(vState& state, const vState stateUpdate) { - LOG(d_prefix<<"validation state was "<second != Indeterminate) { - LOG(d_prefix<<": got status "<second]<<" for name "<second<<" for name "<second; } } @@ -2206,7 +2206,7 @@ void SyncRes::computeZoneCuts(const DNSName& begin, const DNSName& end, unsigned dsmap_t ds; vState cutState = getDSRecords(end, ds, false, depth); - LOG(d_prefix<<": setting cut state for "<first.name, false); - LOG(d_prefix<<": got initial zone status "<first.name<<"|"<first.type)<first.name<<"|"<first.type)< beenthere2; vState cnameState = Indeterminate; *rcode = doResolve(newtarget, qtype, ret, depth + 1, beenthere2, cnameState); - LOG(prefix<