@@ -239,7 +239,7 @@ CheckResult DNSChecker::perform()
239239
240240 if ((RCode)dmr.dh .rcode != RCode::Noerror) {
241241 return fmt::format (" Got DNS response with RCode {} from {} for question {}|{}" ,
242- toString (( RCode)dmr.dh .rcode ) , d_qname, d_nsip.toStringWithPort (), d_qtype);
242+ ( RCode)dmr.dh .rcode , d_qname, d_nsip.toStringWithPort (), d_qtype);
243243 }
244244
245245 std::unique_ptr<RRGen> rr;
@@ -329,7 +329,7 @@ CheckResult DNSSOAChecker::perform()
329329
330330 if ((RCode)dmr.dh .rcode != RCode::Noerror) {
331331 return fmt::format (" Got DNS response with RCode {} for question {}|{}" ,
332- toString (( RCode)dmr.dh .rcode ) , d_domain, DNSType::SOA);
332+ ( RCode)dmr.dh .rcode , d_domain, DNSType::SOA);
333333 }
334334
335335 std::unique_ptr<RRGen> rr;
@@ -401,7 +401,7 @@ CheckResult RRSIGChecker::perform()
401401
402402 if ((RCode)dmr.dh .rcode != RCode::Noerror) {
403403 return fmt::format (" Got DNS response with RCode {} from {} for question {}|{}" ,
404- toString (( RCode)dmr.dh .rcode ) , d_qname, d_nsip.toStringWithPort (), d_qtype);
404+ ( RCode)dmr.dh .rcode , d_qname, d_nsip.toStringWithPort (), d_qtype);
405405 }
406406
407407 std::unique_ptr<RRGen> rr;
0 commit comments