MySQL: Fix query string in info column

Change-Id: I2d0aae95c41f527c4a1e0327bf6c3950204458e1
Reviewed-on: https://code.wireshark.org/review/14637
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Daniël van Eeden 2016-03-26 12:01:02 +01:00 committed by Michael Mann
parent 59ab27b9c2
commit 320090ce23
1 changed files with 1 additions and 1 deletions

View File

@ -1349,7 +1349,7 @@ mysql_dissect_request(tvbuff_t *tvb,packet_info *pinfo, int offset,
proto_tree_add_item(req_tree, hf_mysql_query, tvb, offset, lenstr, ENC_ASCII|ENC_NA);
if (mysql_showquery) {
col_append_fstr(pinfo->cinfo, COL_INFO, " { %s } ",
tvb_format_text(tvb, offset, lenstr-1));
tvb_format_text(tvb, offset, lenstr));
}
offset += lenstr;
conn_data->state = RESPONSE_TABULAR;