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-wai.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-wai.c')
-rw-r--r-- | epan/dissectors/packet-wai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-wai.c b/epan/dissectors/packet-wai.c index 98854bd384..1593a7c5e8 100644 --- a/epan/dissectors/packet-wai.c +++ b/epan/dissectors/packet-wai.c @@ -894,7 +894,7 @@ Figure 18 from [ref:1] if (version == 1) { subtype_name = val_to_str_ext_const(subtype, &wai_subtype_names_ext, "Unknown type"); } - col_append_fstr(pinfo->cinfo, COL_INFO, "%s", subtype_name); + col_append_str(pinfo->cinfo, COL_INFO, subtype_name); /* Field lengths and offsets in WAI protocol described above */ packet_num = tvb_get_ntohs(tvb, 8); |