Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal ringbuffer.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: Sat, 4 May 2002 05:10:43 -0500 (CDT)
guy         2002/05/04 05:10:43 CDT

  Modified files:
    .                    ringbuffer.c 
  Log:
  Check whether "fflush()" succeeds, and clean up and return an error if
  it fails.
  
  "wtap_dump_close()" allows you to pass a null pointer as the second
  argument, so an error value isn't returned; use that in the cleanup
  routine, as we don't care whether the closes fail.
  
  Revision  Changes    Path
  1.2       +37 -7     ethereal/ringbuffer.c