diff options
author | Evan Huus <eapache@gmail.com> | 2014-08-18 20:17:53 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-08-19 00:32:23 +0000 |
commit | cf0cb90af3cbd40ebe0a0414d00692780e03198e (patch) | |
tree | 6a4d5e1301583249ca0b607f098ae84dc0288fa7 /epan/dissectors/packet-ceph.c | |
parent | 7b7dd1efcef07dbdb69320e13832a4d7a087b9a8 (diff) |
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>
Diffstat (limited to 'epan/dissectors/packet-ceph.c')
-rw-r--r-- | epan/dissectors/packet-ceph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ceph.c b/epan/dissectors/packet-ceph.c index b753903703..f1ca76d11f 100644 --- a/epan/dissectors/packet-ceph.c +++ b/epan/dissectors/packet-ceph.c @@ -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); } |