From 93343522c0eb06d3e0bd16015f0641546f448c01 Mon Sep 17 00:00:00 2001 From: claudio Date: Wed, 1 Mar 2023 08:15:58 +0000 Subject: [PATCH] KNF, no functional change. --- usr.sbin/tcpdump/print-domain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr.sbin/tcpdump/print-domain.c b/usr.sbin/tcpdump/print-domain.c index f5d74e8227c..d3372a64c01 100644 --- a/usr.sbin/tcpdump/print-domain.c +++ b/usr.sbin/tcpdump/print-domain.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-domain.c,v 1.27 2020/01/24 22:46:36 procter Exp $ */ +/* $OpenBSD: print-domain.c,v 1.28 2023/03/01 08:15:58 claudio Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -652,8 +652,7 @@ ns_print(const u_char *bp, u_int length, int is_mdns) if (arcount > 0) goto trunc; } - } - else { + } else { /* this is a request */ printf("%d%s%s%s", EXTRACT_16BITS(&np->id), ns_ops[DNS_OPCODE(np)], DNS_RD(np) ? "+" : "", -- 2.20.1