aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-01-22 02:41:13 +0000
committerGuy Harris <guy@alum.mit.edu>2014-01-22 02:41:13 +0000
commite163578906efdb2166f6068baa153d23d3c25d35 (patch)
tree98313554c06ba33a62b17fbad8bb587c2e0ac0c7 /asn1
parentc12dc677523e809f1f8ba958db02bd15de1ceab9 (diff)
Another tvb_get_string() replacement.
svn path=/trunk/; revision=54890
Diffstat (limited to 'asn1')
-rw-r--r--asn1/ldap/packet-ldap-template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/ldap/packet-ldap-template.c b/asn1/ldap/packet-ldap-template.c
index 43d2be9195..4a56d8d38a 100644
--- a/asn1/ldap/packet-ldap-template.c
+++ b/asn1/ldap/packet-ldap-template.c
@@ -1680,7 +1680,7 @@ dissect_ldap_oid(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
* proto_tree_add_oid() instead.
*/
- oid=tvb_get_string(wmem_packet_scope(), tvb, 0, tvb_length(tvb));
+ oid=tvb_get_string_enc(wmem_packet_scope(), tvb, 0, tvb_length(tvb), ENC_UTF_8|ENC_NA);
if(!oid){
return;
}