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

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 2 Oct 1999 01:00:16 -0500 (CDT)
guy         1999/10/02 01:00:11 CDT

  Modified files:
    .                    capture.c capture.h 
  Log:
  A child process for a "-S" or "-F" capture should *always* exit when the
  capture is done; make it do so, and don't bother passing it a "-Q" flag
  to tell it to do so.
  
  "capture()" is called in two places; in one place, it's in a child
  process, and it shouldn't read in the capture file.  Move the reading of
  the capture file out of "capture()" itself to the place where we
  *should* read in the capture file after it returns.  Also, have it
  return an indication of whether it succeeded or failed, so we know
  whether we should read in the capture file.
  
  Revision  Changes    Path
  1.76      +28 -26    ethereal/capture.c
  1.18      +2 -2      ethereal/capture.h