From 53977f80897f6025eccc949038341b3f97f74148 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Sat, 7 Sep 2013 13:46:25 +0200 Subject: [PATCH] implement coverity suggetions in packethandeler, and a little code cleanup --- pdns/packethandler.cc | 32 ++++++++++++++------------------ pdns/packethandler.hh | 1 - 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index 33945b2a60..2e642c4b05 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -578,25 +578,24 @@ bool getNSEC3Hashes(bool narrow, DNSBackend* db, int id, const std::string& hash void PacketHandler::addNSEC3(DNSPacket *p, DNSPacket *r, const string& target, const string& wildcard, const string& auth, const NSEC3PARAMRecordContent& ns3rc, bool narrow, int mode) { - DLOG(L<<"mode="<