aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorDaniƫl van Eeden <git@myname.nl>2016-03-19 20:33:47 +0100
committerMichael Mann <mmann78@netscape.net>2016-03-20 00:58:47 +0000
commitbb74293fa7b018123e34f1f8ca2c7779c0085293 (patch)
treecbb6a85fdb836c59833cf0eb5048cc1d45d76fb2 /epan
parentd4194585ba930ecd428cc07f9cd4078e09d33c21 (diff)
Fix compiling with CTDEBUG=1
Change-Id: Idf36ebd7ceb3f87ceb6a68774f5b2810f8cf7b58 Reviewed-on: https://code.wireshark.org/review/14527 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-mysql.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-mysql.c b/epan/dissectors/packet-mysql.c
index bf5b3f9721..4c784a69fe 100644
--- a/epan/dissectors/packet-mysql.c
+++ b/epan/dissectors/packet-mysql.c
@@ -689,8 +689,8 @@ static const value_string state_vals[] = {
{FIELD_PACKET, "field packet"},
{ROW_PACKET, "row packet"},
{RESPONSE_PREPARE, "response to PREPARE"},
- {RESPONSE_PARAMETERS, "parameters in response to PREPARE"},
- {RESPONSE_FIELDS, "fields in response to PREPARE"},
+ {PREPARED_PARAMETERS, "parameters in response to PREPARE"},
+ {PREPARED_FIELDS, "fields in response to PREPARE"},
{0, NULL}
};
#endif
@@ -2243,15 +2243,15 @@ dissect_mysql_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dat
frame_state = mysql_frame_data_p->state;
generation= conn_data->generation;
if (tree) {
- pi = proto_tree_add_debug(mysql_tree, tvb, offset, 0, "conversation: %p", conversation);
+ pi = proto_tree_add_debug_text(mysql_tree, "conversation: %p", conversation);
PROTO_ITEM_SET_GENERATED(pi);
- pi = proto_tree_add_debug(mysql_tree, tvb, offset, 0, "generation: %" G_GINT64_MODIFIER "d", generation);
+ pi = proto_tree_add_debug_text(mysql_tree, "generation: %" G_GINT64_MODIFIER "d", generation);
PROTO_ITEM_SET_GENERATED(pi);
- pi = proto_tree_add_debug(mysql_tree, tvb, offset, 0, "conn state: %s (%u)",
+ pi = proto_tree_add_debug_text(mysql_tree, "conn state: %s (%u)",
val_to_str(conn_state_in, state_vals, "Unknown (%u)"),
conn_state_in);
PROTO_ITEM_SET_GENERATED(pi);
- pi = proto_tree_add_debug(mysql_tree, tvb, offset, 0, "frame state: %s (%u)",
+ pi = proto_tree_add_debug_text(mysql_tree, "frame state: %s (%u)",
val_to_str(frame_state, state_vals, "Unknown (%u)"),
frame_state);
PROTO_ITEM_SET_GENERATED(pi);
@@ -2281,7 +2281,7 @@ dissect_mysql_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dat
#ifdef CTDEBUG
conn_state_out= conn_data->state;
++(conn_data->generation);
- pi = proto_tree_add_debug(mysql_tree, tvb, offset, 0, "next proto state: %s (%u)",
+ pi = proto_tree_add_debug_text(mysql_tree, "next proto state: %s (%u)",
val_to_str(conn_state_out, state_vals, "Unknown (%u)"),
conn_state_out);
PROTO_ITEM_SET_GENERATED(pi);