From 56db2abe12474e8936b4150fc5e2d0c95f943e89 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Sun, 3 Jan 2016 00:32:08 +0100 Subject: [PATCH] dnsdist: fix brace positioning warning from clang --- pdns/dnsrulactions.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.47.2