summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-agentx.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-06-15 23:42:14 -0700
committerMichael Mann <mmann78@netscape.net>2014-06-16 17:26:25 +0000
commitde00c49bd84c853c9260f70cc5857c5a5ab6d3be (patch)
treed20495295746d9c1b0623b631931f538ee6d3581 /epan/dissectors/packet-agentx.c
parentb71b68cd637de5501de9d5684c79b6c8b5b2dfd3 (diff)
downloadwireshark-de00c49bd84c853c9260f70cc5857c5a5ab6d3be.tar.gz
Convert a bunch of time_to_str functions to wmem
Change-Id: I24fe3cc4a3589dadc4528a77fe7ff13d06b1a983 Reviewed-on: https://code.wireshark.org/review/2245 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-agentx.c')
-rw-r--r--epan/dissectors/packet-agentx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-agentx.c b/epan/dissectors/packet-agentx.c
index ef42d5f417..79cfcddf39 100644
--- a/epan/dissectors/packet-agentx.c
+++ b/epan/dissectors/packet-agentx.c
@@ -478,7 +478,7 @@ dissect_response_pdu(tvbuff_t *tvb, proto_tree *tree, int offset, int len, guint
NORLEL(flags, r_uptime, tvb, offset);
proto_tree_add_uint_format(subtree, hf_resp_uptime, tvb, offset, 4, r_uptime,
- "sysUptime: %s", time_msecs_to_ep_str(r_uptime));
+ "sysUptime: %s", time_msecs_to_str(wmem_packet_scope(), r_uptime));
proto_tree_add_item(subtree, hf_resp_error, tvb, offset + 4, 2, encoding);
proto_tree_add_item(subtree, hf_resp_index, tvb, offset + 6, 2, encoding);
offset += 8;