aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb-browse.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-05-09 15:54:27 -0700
committerGuy Harris <guy@alum.mit.edu>2016-05-09 22:55:00 +0000
commit6febe27586426ac556b56b491a93fed4c852680a (patch)
treeee2ccfc094f8e46744e7fe902870d80e98394505 /epan/dissectors/packet-smb-browse.c
parent4013776eecf7f64ce4f681f13297147c15092c2c (diff)
Give the time_[m]secs_to routines names that begin with "[un]signed_".
Indicate whether they take a signed time delta or an unsigned time delta. Export unsigned_time_secs_to_str() while we're at it. Change-Id: I0fbe87f1825efa886364caa61a3358b79d285947 Reviewed-on: https://code.wireshark.org/review/15324 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-smb-browse.c')
-rw-r--r--epan/dissectors/packet-smb-browse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-smb-browse.c b/epan/dissectors/packet-smb-browse.c
index 732c5b5744..b727098b7c 100644
--- a/epan/dissectors/packet-smb-browse.c
+++ b/epan/dissectors/packet-smb-browse.c
@@ -566,7 +566,7 @@ dissect_mailslot_browse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
proto_tree_add_uint_format_value(tree, hf_periodicity, tvb, offset, 4,
periodicity,
"%s",
- time_msecs_to_str(wmem_packet_scope(), periodicity));
+ signed_time_msecs_to_str(wmem_packet_scope(), periodicity));
offset += 4;
/* server name */
@@ -663,7 +663,7 @@ dissect_mailslot_browse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
proto_tree_add_uint_format_value(tree, hf_server_uptime,
tvb, offset, 4, uptime,
"%s",
- time_msecs_to_str(wmem_packet_scope(), uptime));
+ signed_time_msecs_to_str(wmem_packet_scope(), uptime));
offset += 4;
/* next 4 bytes must be zero */
@@ -810,7 +810,7 @@ dissect_mailslot_lanman(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
proto_tree_add_uint_format_value(tree, hf_periodicity, tvb, offset, 2,
periodicity,
"%s",
- time_msecs_to_str(wmem_packet_scope(), periodicity));
+ signed_time_msecs_to_str(wmem_packet_scope(), periodicity));
offset += 2;
/* server name */