summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-dcerpc-nt.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-dcerpc-nt.c')
-rw-r--r--epan/dissectors/packet-dcerpc-nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dcerpc-nt.c b/epan/dissectors/packet-dcerpc-nt.c
index d24c3ab6fc..b80fcd589f 100644
--- a/epan/dissectors/packet-dcerpc-nt.c
+++ b/epan/dissectors/packet-dcerpc-nt.c
@@ -1287,8 +1287,8 @@ void cb_str_postprocess(packet_info *pinfo, proto_tree *tree _U_,
* some way we can get that string, rather than duplicating the
* efforts of that routine?
*/
- s = tvb_get_string(wmem_packet_scope(),
- tvb, start_offset + 12, (end_offset - start_offset - 12) );
+ s = tvb_get_string_enc(wmem_packet_scope(),
+ tvb, start_offset + 12, (end_offset - start_offset - 12), ENC_ASCII);
/* Append string to COL_INFO */