summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2018-09-20 12:23:13 +0000
committerjsg <jsg@openbsd.org>2018-09-20 12:23:13 +0000
commit2cd5f8524e4faa3eb881f3a94b56390c305acd29 (patch)
treeb994059612765638522fa8d18a9875f91e9c7062
parentadd missing braces implied by indentation (diff)
downloadwireguard-openbsd-2cd5f8524e4faa3eb881f3a94b56390c305acd29.tar.xz
wireguard-openbsd-2cd5f8524e4faa3eb881f3a94b56390c305acd29.zip
add missing braces implied by indentation
ok millert@
-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;