diff options
author | Dario Lombardo <lomato@gmail.com> | 2014-06-17 17:30:58 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-06-18 14:13:58 +0000 |
commit | 971ffd683ea23362bd8009567ff7860371e6e2cc (patch) | |
tree | 28c9ada98d2e59b196fc839d39ab2448fd436968 /epan/dissectors/packet-ipp.c | |
parent | 421d817d70737ebd459b7027274bf38bb2d9a2ff (diff) |
Fixup: tvb_get_string(z) -> tvb_get_string(z)_enc
Change-Id: I63a3704effe3fcab01a193dc39b6a22e9f1cf3fe
Reviewed-on: https://code.wireshark.org/review/2376
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ipp.c')
-rw-r--r-- | epan/dissectors/packet-ipp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ipp.c b/epan/dissectors/packet-ipp.c index b02ac279fb..c2f35e5a28 100644 --- a/epan/dissectors/packet-ipp.c +++ b/epan/dissectors/packet-ipp.c @@ -675,7 +675,7 @@ add_value_head(const gchar *tag_desc, proto_tree *tree, tvbuff_t *tvb, offset += 2; if (name_length != 0) { guint8 *nv; - nv = tvb_get_string(wmem_packet_scope(), tvb, offset, name_length); + nv = tvb_get_string_enc(wmem_packet_scope(), tvb, offset, name_length, ENC_ASCII); proto_tree_add_text(tree, tvb, offset, name_length, "Name: %s", format_text(nv, name_length)); if (name_val) { |