aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 9d8a0a1a39..95259e2bd2 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -1016,8 +1016,7 @@ hfinfo_format_text(wmem_allocator_t *scope, const header_field_info *hfinfo,
return format_text_wsp(string, strlen(string));
*/
case STR_UNICODE:
- /* XXX, format_unicode_text() */
- return wmem_strdup(scope, string);
+ return format_text(scope, string, strlen(string));
}
return format_text(scope, string, strlen(string));