X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/84018cc541345fdda9e3f1a2b5123d21e268ca30..4890d02f2cbdfd68f0dfb8ce7123fb61b4a591d4:/print-decnet.c diff --git a/print-decnet.c b/print-decnet.c index 6f8facce..bb5f075f 100644 --- a/print-decnet.c +++ b/print-decnet.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-decnet.c,v 1.31 2001-01-20 07:22:24 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-decnet.c,v 1.32 2001-01-28 08:06:06 itojun Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -768,10 +768,7 @@ pdata(u_char *dp, u_int maxlen) while (x-- > 0) { c = *dp++; - if (isprint(c)) - putchar(c); - else - printf("\\%o", c & 0xFF); + safeputchar(c); } } #endif