aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dtpt.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-23 22:58:45 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-23 22:58:45 +0000
commitd7a184020418cfa3b62f8983045015b5f9521600 (patch)
treefd74f7a4c2d4a44f5a145561dc897bbb452c128d /epan/dissectors/packet-dtpt.c
parent051d46467f516b623ab4ce039ac06e0f0a5d505f (diff)
Replace use of tvb_get_ephemeral_faked_unicode() by use of tvb_get_ephemeral_unicode_string();
Fix encoding arg as needed. svn path=/trunk/; revision=39530
Diffstat (limited to 'epan/dissectors/packet-dtpt.c')
-rw-r--r--epan/dissectors/packet-dtpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dtpt.c b/epan/dissectors/packet-dtpt.c
index 3a488e097c..3ea5f1a4ed 100644
--- a/epan/dissectors/packet-dtpt.c
+++ b/epan/dissectors/packet-dtpt.c
@@ -234,7 +234,7 @@ dissect_dtpt_wstring(tvbuff_t *tvb, guint offset, proto_tree *tree, int hfindex)
guint32 wstring_padding = 0;
wstring_length = tvb_get_letohl(tvb, offset);
- wstring_data = tvb_get_ephemeral_faked_unicode(tvb, offset+4, wstring_length, 1);
+ wstring_data = tvb_get_ephemeral_unicode_string(tvb, offset+4, wstring_length, ENC_LITTLE_ENDIAN);
wstring_size = wstring_length;
if (wstring_size%4) {
wstring_padding = (4-wstring_size%4);