From: Charles-Henri Bruyand Date: Fri, 8 Jun 2018 08:40:45 +0000 (+0200) Subject: nit style X-Git-Tag: auth-4.2.0-alpha1~19^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65516ea478c028a2d903fc1d270d3e6243b4c10c;p=thirdparty%2Fpdns.git nit style --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 7b237e9153..179136ebaa 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -1186,7 +1186,9 @@ int addOrReplaceRecord(bool addOrReplace, const vector& cmds) { if(std::to_string(rr.ttl)==cmds[4]) { contentStart++; } - else rr.ttl = ::arg().asNum("default-ttl"); + else { + rr.ttl = ::arg().asNum("default-ttl"); + } } di.backend->lookup(QType(QType::ANY), rr.qname, 0, di.id); @@ -1217,7 +1219,7 @@ int addOrReplaceRecord(bool addOrReplace, const vector& cmds) { cout<<"Current records for "<getZoneRepresentation(true); + rr.content = DNSRecordContent::mastermake(rr.qtype.getCode(), QClass::IN, cmds[i])->getZoneRepresentation(true); newrrs.push_back(rr); }