diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2017-04-02 12:34:44 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-04-02 16:40:28 +0000 |
commit | 9d1f2efa51b529b7bbf453919bf6b35546545637 (patch) | |
tree | eec7ec93e81702fe8164cd923e284e5ffe9e9b35 /epan/dissectors/packet-nsip.c | |
parent | 522532643f18e879da8706a2a0327d2feae84d2f (diff) | |
download | wireshark-9d1f2efa51b529b7bbf453919bf6b35546545637.tar.gz |
Use col_append_sep_str() for fixed strings
Change from col_append_sep_fstr() to col_append_sep_str() when
appending strings without formatting.
Change-Id: I315aca9b815c204a5bc78f7326402c40d1325f0e
Reviewed-on: https://code.wireshark.org/review/20846
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-nsip.c')
-rw-r--r-- | epan/dissectors/packet-nsip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-nsip.c b/epan/dissectors/packet-nsip.c index 7ddeb5e386..703407ef9f 100644 --- a/epan/dissectors/packet-nsip.c +++ b/epan/dissectors/packet-nsip.c @@ -514,7 +514,7 @@ decode_iei_reset_flag(nsip_ie_t *ie _U_, build_info_t *bi, int ie_start_offset _ ett_nsip_reset_flag, reset_flags, ENC_NA); if (flag & NSIP_MASK_RESET_FLAG) { - col_append_sep_fstr(bi->pinfo->cinfo, COL_INFO, NSIP_SEP, "Reset"); + col_append_sep_str(bi->pinfo->cinfo, COL_INFO, NSIP_SEP, "Reset"); } bi->offset += 1; } @@ -950,7 +950,7 @@ dissect_nsip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_ col_set_str(pinfo->cinfo, COL_INFO, val_to_str_const(pdu_type, tab_nsip_pdu_types, "Unknown PDU type")); } else { - col_append_sep_fstr(pinfo->cinfo, COL_INFO, NSIP_SEP, "%s", + col_append_sep_str(pinfo->cinfo, COL_INFO, NSIP_SEP, val_to_str_const(pdu_type, tab_nsip_pdu_types, "Unknown PDU type")); } decode_pdu(pdu_type, &bi); |