From 9a1a24a9f17a27ba0ccad41c264f653581a4ea18 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Tue, 28 Nov 2017 11:44:51 +0100 Subject: [PATCH] fix tab & {} --- pdns/packethandler.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index 028f6d32a9..0c077eea4b 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 { -- 2.47.2