From 5e8ecbaf4650a35ee0c3e9240bbcedb7def95e2c Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 9 Sep 2002 20:39:01 +0000 Subject: From Graeme Hewson: Currently Ethereal sets and uses a default directory for reading and writing, but only in some places. This set of patches extends the setting of the default directory to the -w option as well as the -r option, and causes all file dialogs to use and set the default consistently. (I haven't changed the Preferences/Printing/File dialog, though, as that's a special case.) There's also a fix for a bug where Ethereal was issuing the message "Ring buffer requested, but capture isn't being saved to a permanent file" even though a file was specified with -w. There also appear to be some other cleanups in his patch. svn path=/trunk/; revision=6238 --- capture.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'capture.h') diff --git a/capture.h b/capture.h index b90e04bbd5..a74d490603 100644 --- a/capture.h +++ b/capture.h @@ -1,7 +1,7 @@ /* capture.h * Definitions for packet capture windows * - * $Id: capture.h,v 1.32 2002/08/28 21:00:05 jmayer Exp $ + * $Id: capture.h,v 1.33 2002/09/09 20:38:56 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -59,7 +59,7 @@ extern gboolean capture_child; /* if this is the child for "-S" */ /* Open a specified file, or create a temporary file, and start a capture to the file in question. */ -void do_capture(char *capfile_name); +void do_capture(const char *save_file); /* Do the low-level work of a capture. */ int capture(gboolean *stats_known, struct pcap_stat *stats); -- cgit v1.2.3