]> granicus.if.org Git - pdns/commitdiff
pdnsutil: Fix output order of pdnsutil add-record
authorHannu Ylitalo <hannu.ylitalo@dovecot.fi>
Wed, 13 Feb 2019 11:47:55 +0000 (13:47 +0200)
committerHannu Ylitalo <hannu.ylitalo@dovecot.fi>
Wed, 13 Feb 2019 11:47:55 +0000 (13:47 +0200)
There was also unnecessary whitespace at the end of the line which was
removed. Since it only affected the same line it's included in this single
commit.

pdns/pdnsutil.cc

index 27614fd0c98130c8c62fa61cd1e83a21d68e3ed6..8b1e8168920ed7a70d812f99f9d1242879104123 100644 (file)
@@ -1218,7 +1218,7 @@ int addOrReplaceRecord(bool addOrReplace, const vector<string>& cmds) {
   di.backend->lookup(rr.qtype, name, 0, di.id);
   cout<<"New rrset:"<<endl;
   while(di.backend->get(rr)) {
-    cout<<rr.qname.toString()<<" IN "<<rr.qtype.getName()<<" "<<rr.ttl<<" "<<rr.content<<endl;      
+    cout<<rr.qname.toString()<<" "<<rr.ttl<<" IN "<<rr.qtype.getName()<<" "<<rr.content<<endl;
   }
   return EXIT_SUCCESS;
 }