diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2017-04-02 20:08:15 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-04-03 05:32:17 +0000 |
commit | d99112d39310c38798aae92a6db811d363ffc385 (patch) | |
tree | 8cea44e94736f7654986d4036a89a0d95f19c335 /epan/dissectors/packet-artnet.c | |
parent | a3444529e5c1d4a3439e33cb449c70b399bf9205 (diff) |
Use col_append_str() for fixed strings
Change from col_append_fstr() to col_append_str() when
appending strings without formatting.
Change-Id: I8975704c246f2b9a1301ed5f96273aa9d61c6f44
Reviewed-on: https://code.wireshark.org/review/20857
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-artnet.c')
-rw-r--r-- | epan/dissectors/packet-artnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-artnet.c b/epan/dissectors/packet-artnet.c index a7cfdd65ea..a1a633c9b6 100644 --- a/epan/dissectors/packet-artnet.c +++ b/epan/dissectors/packet-artnet.c @@ -3189,7 +3189,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _ proto_tree_add_item_ret_string(artnet_header_tree, hf_artnet_header_id, tvb, offset, 8, ENC_ASCII|ENC_NA, wmem_packet_scope(), &header); - col_append_fstr(pinfo->cinfo, COL_INFO, "%s", header); + col_append_str(pinfo->cinfo, COL_INFO, header); offset += 8; opcode = tvb_get_letohs(tvb, offset); |