Ethereal-dev: [ethereal-dev] ethereal-0.8.1, wrong time stamp

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

From: Ernst Gill <ernst.gill@xxxxxxxxxx>
Date: Sat, 22 Jan 2000 00:43:14 +0100
Hi,

You are using the output of the gmtime()  in a wrong way.
The month from the gmtime() is in the range from 0  to 11 (as written in
the man page).

Therefore the time stamp print from the following files is wrong:

    packet-ntp.c     packet-smb.c     packet-srvloc.c

Please add one to the value of the 'tm_mon' element.


Kind regards,

    Ernst