Guy Harris
4fde145bd2
Add an argument to abs_time_to_str() and abs_time_secs_to_str()
...
indicating whether the time should be shown as local time or UTC. For
now, always pass FALSE, meaning "show as local time".
Clean up some stuff in the SNMP dissector, use abs_time_secs_to_str()
for times with one-second resolution, and update a comment in various
macros in the WSP dissector, while we're at it.
svn path=/trunk/; revision=31227
2009-12-10 22:19:29 +00:00
Anders Broman
62c3372576
From Jakub Zawadzki:
...
ctime() is not thread safe and it's obsolete.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4302
svn path=/trunk/; revision=31200
2009-12-08 07:41:43 +00:00
Bill Meier
94f28dd8f9
(FWIW) One step towards including stdio.h & stdlib.h only when req'd.
...
svn path=/trunk/; revision=29568
2009-08-26 19:27:49 +00:00
Kovarththanan Rajaratnam
e971354a54
Don't guard col_set_str (COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29340
2009-08-09 06:26:46 +00:00
Gerald Combs
60d3b45792
More size_t casts/fixes, and string buffers.
...
svn path=/trunk/; revision=27968
2009-04-06 00:08:46 +00:00
Bill Meier
419e3a47f6
Cleanup related to prefs & proto_reg_handoff
...
svn path=/trunk/; revision=26128
2008-09-03 16:42:35 +00:00
Guy Harris
b346a99d0b
tvb_get_ephemeral_string() is defined never to return null (currently,
...
it aborts - even if we don't make it abort, we should make it throw an
assertion, so we abort the dissection of the packet and let the user
know that we ran out of memory).
svn path=/trunk/; revision=25069
2008-04-16 07:23:56 +00:00
Stig Bjørlykke
87a476645b
Call DISSECTOR_ASSERT instead of g_assert in dissector code.
...
svn path=/trunk/; revision=25040
2008-04-15 06:58:37 +00:00
Stephen Fisher
8fd3ee0560
Remove almost all of the casts I committed recently and in place of
...
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it.
svn path=/trunk/; revision=21253
2007-03-28 21:55:11 +00:00
Stephen Fisher
8dabc0ded1
Fix some more warnings under gcc 4.0
...
svn path=/trunk/; revision=21237
2007-03-27 23:14:13 +00:00
Ronnie Sahlberg
79addae4eb
cosmetic updates redindentation etc
...
svn path=/trunk/; revision=18732
2006-07-14 07:55:53 +00:00
Ronnie Sahlberg
8b9e4e40e4
from Krzysztof Burghardt
...
KISMET protocol support
svn path=/trunk/; revision=18728
2006-07-13 08:42:34 +00:00