diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-04-12 00:54:52 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-04-12 00:54:52 +0000 |
commit | 06ef0a3b5234f99d64ff11819b5182d3fb12dd78 (patch) | |
tree | 7b034594d6fb03ec669868485bc6475f1d66006d /gtk/main.c | |
parent | 61ccc8baf1f786dc42c7f3e86a564d151974cbb3 (diff) |
it should now be possible to use "Update packets in real time" even if used with one of the "Multiple files" option.
If this is used together with an option where input files changes too fast (e.g. new file every second), capturing will be (hopefully) stopped.
I've replaced the former capture pipe message format into a somewhat more general format to remove a lot of confusion.
svn path=/trunk/; revision=14054
Diffstat (limited to 'gtk/main.c')
-rw-r--r-- | gtk/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/main.c b/gtk/main.c index 647d9cf7cf..200017952b 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -1190,7 +1190,7 @@ set_display_filename(capture_file *cf) name_ptr = cf_get_display_name(cf); - if (!cf->is_tempfile) { + if (!cf->is_tempfile && cf->filename) { /* Add this filename to the list of recent files in the "Recent Files" submenu */ add_menu_recent_capture_file(cf->filename); } @@ -2107,7 +2107,8 @@ main(int argc, char *argv[]) }*/ if (!capture_opts->has_autostop_filesize && !capture_opts->has_file_duration) { fprintf(stderr, "ethereal: Ring buffer requested, but no maximum capture file size or duration were specified.\n"); - capture_opts->multi_files_on = FALSE; +/* XXX - this must be redesigned as the conditions changed */ +/* capture_opts->multi_files_on = FALSE;*/ } } } |