summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2018-09-20 12:23:14 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2018-09-20 12:23:14 +0000
commit4d32f3fffb52dfc9c607739ef823f0edc43cae32 (patch)
tree33fa4299d55c066b88863207ea1d12980f4db2d2 /usr.sbin/tcpdump
parent1e99479dcd2fe0e608cc83c6a38424827c60a1a6 (diff)
add missing braces implied by indentation
ok millert@
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/print-snmp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-snmp.c b/usr.sbin/tcpdump/print-snmp.c
index 36b1ea29cd9..d80ce457302 100644
--- a/usr.sbin/tcpdump/print-snmp.c
+++ b/usr.sbin/tcpdump/print-snmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-snmp.c,v 1.22 2018/07/06 05:47:22 dlg Exp $ */
+/* $OpenBSD: print-snmp.c,v 1.23 2018/09/20 12:23:13 jsg Exp $ */
/*
* Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997
@@ -856,11 +856,12 @@ varbind_print(u_char pduid, const u_char *np, u_int length, int error)
fputs("[objVal!=NULL]", stdout);
asn1_print(&elem);
}
- } else
+ } else {
if (error && ind == error && elem.type != BE_NULL)
fputs("[err objVal!=NULL]", stdout);
if (!error || ind == error)
asn1_print(&elem);
+ }
length = vblength;
np = vbend;