From: Otto Moerbeek Date: Mon, 6 Jul 2020 13:04:32 +0000 (+0200) Subject: Use new operator to print states X-Git-Tag: rec-4.4.0-alpha2~14^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5294e503c4902d19f112634e9b021a5029031d1d;p=thirdparty%2Fpdns.git Use new operator to print states --- 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<