]> granicus.if.org Git - pdns/commitdiff
remove the suggestion of variable hiding being a problem
authorKees Monshouwer <mind04@monshouwer.org>
Tue, 11 Oct 2016 21:31:40 +0000 (23:31 +0200)
committermind04 <mind04@monshouwer.org>
Tue, 11 Oct 2016 21:31:40 +0000 (23:31 +0200)
pdns/packethandler.cc

index 043a5884af04f617ab3a2ae60c52b3f1e8fa8bc4..2015614188f0bb4db02b5f2bcdfd4edde5845f8a 100644 (file)
@@ -1473,7 +1473,7 @@ DNSPacket *PacketHandler::questionOrRecurse(DNSPacket *p, bool *shouldRecurse)
           completeANYRecords(p, r, sd, target);
       }
       else
-        makeNOError(p, r, rr.dr.d_name, DNSName(), sd, 0);
+        makeNOError(p, r, target, DNSName(), sd, 0);
 
       goto sendit;
     }