From: bert hubert Date: Tue, 28 Nov 2017 10:44:51 +0000 (+0100) Subject: fix tab & {} X-Git-Tag: auth-4.1.0~2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a1a24a9f17a27ba0ccad41c264f653581a4ea18;p=pdns fix tab & {} --- diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index 028f6d32a..0c077eea4 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -275,8 +275,9 @@ int PacketHandler::doChaosRequest(DNSPacket *p, DNSPacket *r, DNSName &target) return 0; } string tid=id; - if(!tid.empty() && tid[0]!='"') // see #6010 however - tid = "\"" + tid + "\""; + if(!tid.empty() && tid[0]!='"') { // see #6010 however + tid = "\"" + tid + "\""; + } rr.dr.d_content=DNSRecordContent::mastermake(QType::TXT, 1, tid); } else {