Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal capture.c ringbuffer.c

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

From: Gerald Combs <gerald@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 22 Sep 2002 11:17:42 -0500 (CDT)
gerald      2002/09/22 11:17:42 CDT

  Modified files:
    .                    capture.c ringbuffer.c 
  Log:
  From Graeme Hewson:
  
    It can sometimes happen that capturing is stopped just after Ethereal
    has switched to a new ring buffer.  The result is that no frames
    are displayed.  The patch to ringbuffer.c displays the previous ring
    buffer if the current buffer is empty on close.
  
    The patch to capture.c fixes a bug where an error return from
    ringbuf_wtap_dump_close was ignored, and tidies up the code around
    the call.
  
  Revision  Changes    Path
  1.191     +22 -23    ethereal/capture.c
  1.6       +62 -15    ethereal/ringbuffer.c