Ethereal-dev: [Ethereal-dev] Remove trailing spaces in dumps

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Wed, 13 Feb 2002 09:11:39 +0100
--
Joerg Mayer                                          <jmayer@xxxxxxxxx>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.
Index: ethereal/print.c
===================================================================
RCS file: /cvsroot/ethereal/print.c,v
retrieving revision 1.39
diff -u -u -r1.39 print.c
--- print.c	2002/01/21 07:36:48	1.39
+++ print.c	2002/02/13 08:06:28
@@ -251,7 +251,7 @@
 {
         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'};