aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/main.c b/gtk/main.c
index 15c86ebff4..f7d9400855 100644
--- a/gtk/main.c
+++ b/gtk/main.c
@@ -1,6 +1,6 @@
/* main.c
*
- * $Id: main.c,v 1.11 1999/09/30 06:50:01 guy Exp $
+ * $Id: main.c,v 1.12 1999/09/30 07:19:35 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -647,6 +647,7 @@ main(int argc, char *argv[])
#ifdef HAVE_LIBPCAP
case 'w': /* Write to capture file xxx */
cf.save_file = g_strdup(optarg);
+ cf.user_saved = TRUE; /* it's not a temporary file */
break;
case 'W': /* Write to capture file FD xxx */
cf.save_file_fd = atoi(optarg);