aboutsummaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-15 11:56:10 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-15 11:56:10 +0000
commit31fc804847f4d243eacf7ab7966328c7578316bb (patch)
tree70a15dcb6ce03128a963de73912a37857338eef2 /print.c
parentd49247e45095e5633f2d9e29ddb85c797fe73da3 (diff)
From Joerg Mayer: remove trailing blanks from hex dump in
print/Tethereal. svn path=/trunk/; revision=4742
Diffstat (limited to 'print.c')
-rw-r--r--print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print.c b/print.c
index 250f9841c8..4f9bd1e5a2 100644
--- a/print.c
+++ b/print.c
@@ -1,7 +1,7 @@
/* print.c
* Routines for printing packet analysis trees.
*
- * $Id: print.c,v 1.39 2002/01/21 07:36:48 guy Exp $
+ * $Id: print.c,v 1.40 2002/02/15 11:56:10 guy Exp $
*
* Gilbert Ramirez <gram@alumni.rice.edu>
*
@@ -251,7 +251,7 @@ void print_hex_data_text(FILE *fh, register const u_char *cp,
{
register unsigned int ad, i, j, k;
u_char c;
- u_char line[80];
+ u_char line[50+16+1];
static u_char binhex[16] = {
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};