diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-06-22 16:02:26 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-06-22 16:02:26 +0000 |
commit | 05d9997311b579ebfb4267f78d1dc5218fc00179 (patch) | |
tree | 4c546e6d628497df5c7a9e90b9e186a8a28f0396 /epan/dissectors/packet-ppi-vector.c | |
parent | 7fd3360e8423f2079d1ebe6b4b4f79245de647d3 (diff) |
tvb_format_text → tvb_format_stringzpad.
svn path=/trunk/; revision=37754
Diffstat (limited to 'epan/dissectors/packet-ppi-vector.c')
-rw-r--r-- | epan/dissectors/packet-ppi-vector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ppi-vector.c b/epan/dissectors/packet-ppi-vector.c index f17b71eb0b..b81dc48048 100644 --- a/epan/dissectors/packet-ppi-vector.c +++ b/epan/dissectors/packet-ppi-vector.c @@ -511,7 +511,7 @@ dissect_ppi_vector(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (tree) { /* proto_tree_add_item(ppi_vector_tree, hf_ppi_vector_descstr, tvb, offset, 32, ENC_NA); */ - curr_str = tvb_format_text(tvb, offset, 32); /* need to append_text this */ + curr_str = tvb_format_stringzpad(tvb, offset, 32); /* need to append_text this */ proto_tree_add_string(ppi_vector_tree, hf_ppi_vector_descstr, tvb, offset, 32, curr_str); proto_item_append_text(vector_line, " (%s)", curr_str); } |