Skip to content

Commit

Permalink
elimitate tabs as they mess up the multi-line output
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes committed Dec 29, 2003
1 parent 428f05c commit 5c739af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions print-ascii.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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);
}
Expand All @@ -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);
}
Expand Down

0 comments on commit 5c739af

Please sign in to comment.