From: Christian Hofstaedtler Date: Sat, 2 Jan 2016 23:32:08 +0000 (+0100) Subject: dnsdist: fix brace positioning warning from clang X-Git-Tag: dnsdist-1.0.0-alpha2~131^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56db2abe12474e8936b4150fc5e2d0c95f943e89;p=thirdparty%2Fpdns.git dnsdist: fix brace positioning warning from clang --- diff --git a/pdns/dnsrulactions.hh b/pdns/dnsrulactions.hh index db5718d0c3..91a05926c9 100644 --- a/pdns/dnsrulactions.hh +++ b/pdns/dnsrulactions.hh @@ -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);