diff options
author | Gerald Combs <gerald@wireshark.org> | 2003-02-26 01:35:07 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2003-02-26 01:35:07 +0000 |
commit | 1da3bdf2ea349476376e841a84742b742b8aef26 (patch) | |
tree | a9b1a8088ed126ae7b6aaf4ac8dcba95496f61f8 /packet-socks.c | |
parent | 7005595a7f51325cf61c17b37ad7e968641a86da (diff) | |
download | wireshark-1da3bdf2ea349476376e841a84742b742b8aef26.tar.gz wireshark-1da3bdf2ea349476376e841a84742b742b8aef26.tar.bz2 wireshark-1da3bdf2ea349476376e841a84742b742b8aef26.zip |
From Georgi Guninski: Fix a format string problem.
svn path=/trunk/; revision=7201
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; } |