Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-radius.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Feb 2003 13:42:37 -0600 (CST)
guy         2003/02/11 13:42:37 CST

  Modified files:
    .                    packet-radius.c 
  Log:
  Add a "abs_time_secs_to_str()" routine that takes a UNIX time-since-the-
  epoch-in-seconds value and converts it to a string.
  
  Use that routine in the RADIUS dissector, rather than using "ctime()"
  and "tzname[]" - "tzname[]" strings might contain non-ASCII characters,
  which currently give the GTK+ 1.3[.x] used on Windows, and also, I
  think, GTK+ 2.x, heartburn, as they expect UTF-8, not, for example, ISO
  8859/1.
  
  Fix the string length in "abs_time_to_str()".
  
  Revision  Changes    Path
  1.74      +2 -6      ethereal/packet-radius.c