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-ypserv.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-ypserv.c')
-rw-r--r-- | epan/dissectors/packet-ypserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ypserv.c b/epan/dissectors/packet-ypserv.c index a8d8cf3477..32f9808fe0 100644 --- a/epan/dissectors/packet-ypserv.c +++ b/epan/dissectors/packet-ypserv.c @@ -183,7 +183,7 @@ dissect_match_call(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void /*key*/ offset = dissect_rpc_string(tvb, tree, hf_ypserv_key, offset, &str); - col_append_fstr(pinfo->cinfo, COL_INFO,"%s", str); + col_append_str(pinfo->cinfo, COL_INFO, str); proto_item_append_text(tree, "%s", str); return offset; |