Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/gtk main.c capture_dlg.c

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

  Modified files:
    gtk                  main.c capture_dlg.c 
  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.15      +6 -29     ethereal/gtk/main.c
  1.6       +2 -2      ethereal/gtk/capture_dlg.c