aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mysql.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-01-21 02:42:14 +0000
committerGuy Harris <guy@alum.mit.edu>2003-01-21 02:42:14 +0000
commite6f9701029bbd62ef54da06a0baf8190cb2734d4 (patch)
tree1ff9f1e2a0aca8269c513b4f929c8f873c2fcf64 /packet-mysql.c
parentfe60d5b02e9f5353f7e87d3415476c3bba6686ea (diff)
From Huagang Xie: use "tvb_format_text()" when putting the command
parameter into the Info column. svn path=/trunk/; revision=6953
Diffstat (limited to 'packet-mysql.c')
-rw-r--r--packet-mysql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-mysql.c b/packet-mysql.c
index 9139426cad..1e6691d395 100644
--- a/packet-mysql.c
+++ b/packet-mysql.c
@@ -3,7 +3,7 @@
*
* Huagang XIE <huagang@intruvert.com>
*
- * $Id: packet-mysql.c,v 1.2 2003/01/20 06:54:52 guy Exp $
+ * $Id: packet-mysql.c,v 1.3 2003/01/21 02:42:14 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -391,7 +391,7 @@ mysql_dissect_request(tvbuff_t *tvb,packet_info *pinfo,
if (check_col(pinfo->cinfo, COL_INFO)) {
col_append_fstr(pinfo->cinfo, COL_INFO, " : %s",
- tvb_memdup(tvb,offset,strlen));
+ tvb_format_text(tvb,offset,strlen));
}
if (tree) {