]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Remove erroneous semicolon from "for()" clause; patch from Michael T.
authorguy <guy>
Fri, 6 Oct 2000 05:54:50 +0000 (05:54 +0000)
committerguy <guy>
Fri, 6 Oct 2000 05:54:50 +0000 (05:54 +0000)
Stolarchuk.

CREDITS
print-snmp.c

diff --git a/CREDITS b/CREDITS
index 852ede73e8e5ab51b682392c74f0bb1f71eb204f..63d2ee6aaf23cdd44fd30a6f1546ff1126ba9bbe 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -29,6 +29,7 @@ Additional people who have contributed patches:
        Larry Lile                      <[email protected]>
        Love Hörnquist-Ã…strand          <[email protected]>
        Marko Kiiskila                  <[email protected]>
+       Michael T. Stolarchuk           <[email protected]>
        Motonori Shindo                 <[email protected]>
        Onno van der Linden             <[email protected]>
        Rafal Maszkowski                <[email protected]>
index 9b2e7e3a88ca6d4ae6f38ca5cefccaa176d93f5c..871d804ea79c7901a0a82311be0f2f7d917a244a 100644 (file)
@@ -45,7 +45,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.41 2000-07-01 03:39:09 assar Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.42 2000-10-06 05:54:51 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -653,7 +653,7 @@ asn1_print(struct be *elem)
        switch (elem->type) {
 
        case BE_OCTET:
-               for (i = asnlen; i-- > 0; p++);
+               for (i = asnlen; i-- > 0; p++)
                        printf("_%.2x", *p);
                break;