aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 304f15126c..6f4baa33a8 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -4172,7 +4172,7 @@ proto_custom_set(proto_tree* tree, const int field_id, gint occurrence,
case FT_ABSOLUTE_TIME:
offset_r += protoo_strlcpy(result+offset_r,
- abs_time_to_ep_str((const nstime_t *)fvalue_get(&finfo->value),
+ abs_time_to_str(wmem_packet_scope(), (const nstime_t *)fvalue_get(&finfo->value),
(absolute_time_display_e)hfinfo->display, TRUE),
size-offset_r);
break;
@@ -5829,7 +5829,7 @@ proto_item_fill_label(field_info *fi, gchar *label_str)
case FT_ABSOLUTE_TIME:
label_fill(label_str, 0, hfinfo,
- abs_time_to_ep_str((const nstime_t *)fvalue_get(&fi->value),
+ abs_time_to_str(wmem_packet_scope(), (const nstime_t *)fvalue_get(&fi->value),
(absolute_time_display_e)hfinfo->display, TRUE));
break;