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:
parent
7b7dd1efce
commit
cf0cb90af3
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue