diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-12-02 01:33:55 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-12-02 01:33:55 +0000 |
commit | 6492ea79ee134701ef98e997201576f1fc8b5af9 (patch) | |
tree | 4723722c82828836aee80397f1cd64c6fd4c1da1 /packet.c | |
parent | 27f7e065e400a0eab402c46d878ce12e5a89a602 (diff) |
Christopher McAvaney's fix to "format_text()" to make it not stomp on
the "..." added if a string is too long.
svn path=/trunk/; revision=1177
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* packet.c * Routines for packet disassembly * - * $Id: packet.c,v 1.57 1999/11/27 04:01:42 guy Exp $ + * $Id: packet.c,v 1.58 1999/12/02 01:33:55 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -438,6 +438,7 @@ format_text(const u_char *string, int len) * Put "..." and quit. */ strcpy(fmtbufp, " ..."); + fmtbufp += 4; break; } c = *string++; |