diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-06-16 07:51:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-06-16 07:51:21 +0000 |
commit | 20d6c818e8c2128bec601660d20a27c51ff51bb2 (patch) | |
tree | f45c3bf255a61dfdd0b8736d58a680c1734b0215 /packet-aim-messaging.c | |
parent | 7e128ddeb32c7b292e20765673adda0154bbbf36 (diff) |
Use "format_text()" on strings, so we handle non-printable characters.
Clean up white space a bit.
svn path=/trunk/; revision=11157
Diffstat (limited to 'packet-aim-messaging.c')
-rw-r--r-- | packet-aim-messaging.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-aim-messaging.c b/packet-aim-messaging.c index b5da6fce55..615a2f0e4b 100644 --- a/packet-aim-messaging.c +++ b/packet-aim-messaging.c @@ -4,7 +4,7 @@ * Copyright 2000, Ralf Hoelzer <ralf@well.com> * Copyright 2004, Devin Heitmueller <dheitmueller@netilla.com> * - * $Id: packet-aim-messaging.c,v 1.10 2004/06/04 03:58:25 gerald Exp $ + * $Id: packet-aim-messaging.c,v 1.11 2004/06/16 07:51:21 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -176,7 +176,8 @@ static int dissect_aim_messaging(tvbuff_t *tvb, packet_info *pinfo, if (check_col(pinfo->cinfo, COL_INFO)) { buddyname_length = aim_get_buddyname(buddyname, tvb, offset, offset + 1); - col_append_fstr(pinfo->cinfo, COL_INFO, " to: %s", buddyname); + col_append_fstr(pinfo->cinfo, COL_INFO, " to: %s", + format_text(buddyname, buddyname_length)); } offset = dissect_aim_buddyname(tvb, pinfo, offset, msg_tree); |