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:26:50 -0500 (CDT)
guy         1999/10/02 01:26:48 CDT

  Modified files:
    .                    capture.c capture.h 
  Log:
  Have "do_capture()" take, as an argument, a pointer to the name of the
  file to which to write the capture; if it's NULL, create a temporary
  file and use that.
  
  Have "-w" set a local variable, which starts out null, and, for "-k"
  captures, call "do_capture()" and pass it that local variable as an
  argument; this lets you do "-k" without "-w", which makes it use a
  temporary file for the capture.
  
  This means "run_capture()" no longer serves a useful purpose, as its
  only caller is "do_capture()"; swallow it into "do_capture()".
  
  Revision  Changes    Path
  1.77      +24 -23    ethereal/capture.c
  1.19      +4 -8      ethereal/capture.h