Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal tethereal.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Wed, 24 Sep 2003 19:08:59 -0500 (CDT)
guy         2003/09/24 19:08:59 CDT

  Modified files:
    .                    tethereal.c 
  Log:
  From Matthijs Melchior: check whether the ring buffer timeout has
  expired *before* writing a packet, rather than *after* writing a packet,
  so that if you get no packets for a sufficiently long period that the
  timeout expires before you get a new packet, the new packet is in the
  beginning of a new file (as you might get more packets right after that,
  and want them to be in the new file, rather than have the first packet
  at the end of one file and the rest of the packets in another file).
  
  Revision  Changes    Path
  1.199     +23 -11    ethereal/tethereal.c