summaryrefslogtreecommitdiff
path: root/print-ascii.c
diff options
context:
space:
mode:
authorhannes <hannes>2003-12-29 10:51:34 +0000
committerhannes <hannes>2003-12-29 10:51:34 +0000
commit5c739aff6361f9d637ddb6338f2314de4eb5ea56 (patch)
treea3bfa84e5fc30c042dcd5baf66ab01ccb62ac2a1 /print-ascii.c
parent428f05c79b3ac81b363ba2036b8a72c0d940ed63 (diff)
downloadtcpdump-5c739aff6361f9d637ddb6338f2314de4eb5ea56.tar.gz
elimitate tabs as they mess up the multi-line output
Diffstat (limited to 'print-ascii.c')
-rw-r--r--print-ascii.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/print-ascii.c b/print-ascii.c
index 34640b4f..9d0f278f 100644
--- a/print-ascii.c
+++ b/print-ascii.c
@@ -42,7 +42,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-ascii.c,v 1.13 2003-12-29 10:30:40 hannes Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-ascii.c,v 1.14 2003-12-29 10:51:34 hannes Exp $";
#endif
#include <tcpdump-stdinc.h>
#include <stdio.h>
@@ -93,7 +93,7 @@ ascii_print_with_offset(register const u_char *ident, register const u_char *cp,
if (Aflag) {
(void)printf("%s", asciistuff);
} else {
- (void)printf("%s0x%04x:\t%-*s\t%s",
+ (void)printf("%s0x%04x: %-*s %s",
ident, oset, HEXDUMP_HEXSTUFF_PER_LINE,
hexstuff, asciistuff);
}
@@ -118,7 +118,7 @@ ascii_print_with_offset(register const u_char *ident, register const u_char *cp,
if (Aflag) {
(void)printf("%s%s", ident, asciistuff);
} else {
- (void)printf("%s0x%04x:\t%-*s\t%s",
+ (void)printf("%s0x%04x: %-*s %s",
ident, oset, HEXDUMP_HEXSTUFF_PER_LINE,
hexstuff, asciistuff);
}