]> granicus.if.org Git - pdns/commitdiff
fix tab & {}
authorbert hubert <bert.hubert@powerdns.com>
Tue, 28 Nov 2017 10:44:51 +0000 (11:44 +0100)
committerbert hubert <bert.hubert@powerdns.com>
Tue, 28 Nov 2017 10:44:51 +0000 (11:44 +0100)
pdns/packethandler.cc

index 028f6d32a94b964fe1d7ac766d4b79546b260cda..0c077eea4b4318aac80a577dabe94f6c8924f993 100644 (file)
@@ -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 {