diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-02-26 01:35:07 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-02-26 01:35:07 +0000 |
commit | 04b10badfa2b57ce6e908e5fb18c860e327e3197 (patch) | |
tree | a9b1a8088ed126ae7b6aaf4ac8dcba95496f61f8 /packet-socks.c | |
parent | 073ee8ff6815fb8473504ab0701326168a4843f3 (diff) |
From Georgi Guninski: Fix a format string problem.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7201 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-socks.c')
-rw-r--r-- | packet-socks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-socks.c b/packet-socks.c index 57adf87710..93363d77d1 100644 --- a/packet-socks.c +++ b/packet-socks.c @@ -2,7 +2,7 @@ * Routines for socks versions 4 &5 packet dissection * Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com> * - * $Id: packet-socks.c,v 1.43 2002/08/28 21:00:35 jmayer Exp $ + * $Id: packet-socks.c,v 1.44 2003/02/26 01:35:07 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -908,7 +908,7 @@ display_ping_and_tracert(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tr linelen = lineend - data; proto_tree_add_text( tree, tvb, offset, linelen, - format_text(data, linelen)); + "%s", format_text(data, linelen)); offset += linelen; data = lineend; } |