ceph: use col_add_str instead of col_set_str

The argument is no longer guaranteed to be a const that hangs around.

Bug: 10395
Change-Id: I3c658f6db5927e09a9a38f9ec0fbce153b3e1bc2
Reviewed-on: https://code.wireshark.org/review/3709
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Evan Huus 2014-08-18 20:17:53 +00:00 committed by Michael Mann
parent 7b7dd1efce
commit cf0cb90af3
1 changed files with 1 additions and 1 deletions

View File

@ -1400,7 +1400,7 @@ gboolean c_from_server(c_pkt_data *d)
static
void c_set_type(c_pkt_data *data, const char *type)
{
col_set_str(data->pinfo->cinfo, COL_INFO, type);
col_add_str(data->pinfo->cinfo, COL_INFO, type);
proto_item_append_text(data->item_root, " %s", type);
}