]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: fix brace positioning warning from clang
authorChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Sat, 2 Jan 2016 23:32:08 +0000 (00:32 +0100)
committerChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Sat, 2 Jan 2016 23:32:08 +0000 (00:32 +0100)
pdns/dnsrulactions.hh

index db5718d0c3c1f8f9f6d51f3b20e32740f486801e..91a05926c9a4e1d0fa7ab4aba66b549a3f21b70d 100644 (file)
@@ -428,9 +428,9 @@ public:
   }
   DNSAction::Action operator()(const ComboAddress& remote, const DNSName& qname, uint16_t qtype, dnsheader* dh, uint16_t& len, string* ruleresult) const override
   {
-    if(!d_fp) 
+    if(!d_fp) {
       vinfolog("Packet from %s for %s %s with id %d", remote.toStringWithPort(), qname.toString(), QType(qtype).getName(), dh->id);
-    else {
+    else {
       string out = qname.toDNSString();
       fwrite(out.c_str(), 1, out.size(), d_fp);
       fwrite((void*)&qtype, 1, 2, d_fp);