Wireshark-bugs: [Wireshark-bugs] [Bug 5049] VS2008EE compiler warnings from packet-diameter.c an

Date: Sat, 24 Jul 2010 07:11:06 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5049

--- Comment #1 from Bill Meier <wmeier@xxxxxxxxxxx> 2010-07-24 10:11:03 EDT ---
Chris:

The current SVN already has these changes.

Did you somehow get older sources for these files ??  :)

Bill



For example: for packet-pktc.c

Revision 32913 - (view) (download) (as text) - [select for diffs]
Modified Fri May 21 06:33:25 2010 UTC (2 months ago) by guy
File length: 28387 byte(s)
Diff to previous 32034

Have abs_time_to_str() and abs_time_to_str_secs() take an additional
argument indicating whether to include the time zone in the string.  If
we're constructing a display filter, don't include the time zone,
otherwise do.  Fixes bug 4756.


--- trunk/epan/dissectors/packet-pktc.c    2010/02/27 19:01:27    32034
+++ trunk/epan/dissectors/packet-pktc.c    2010/05/21 06:33:25    32913
@@ -517,7 +517,7 @@
        proto_tree_add_time_format(tree, hf_pktc_mtafqdn_manu_cert_revoked,
tvb, offset, 4,
                                   &ts, "%s: %s",
                                  
proto_registrar_get_name(hf_pktc_mtafqdn_manu_cert_revoked),
-                                  (bignum==0) ? "not revoked" :
abs_time_secs_to_str(bignum, ABSOLUTE_TIME_LOCAL));
+                                  (bignum==0) ? "not revoked" :
abs_time_secs_to_str(bignum, ABSOLUTE_TIME_LOCAL, TRUE));
        break;

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.