diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-03-28 21:35:21 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-03-28 21:35:21 +0000 |
commit | e548ddf90413a7a988603343b358df7e786ff741 (patch) | |
tree | e6455468e332383d0f8e615a832b926aec11918c /capture.c | |
parent | 0b132c9b1d8dba90d92b3ea3a9ccc010ba40a70e (diff) | |
download | wireshark-e548ddf90413a7a988603343b358df7e786ff741.tar.gz wireshark-e548ddf90413a7a988603343b358df7e786ff741.tar.bz2 wireshark-e548ddf90413a7a988603343b358df7e786ff741.zip |
some minor changes
svn path=/trunk/; revision=13962
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -221,11 +221,10 @@ capture_input_new_file(capture_options *capture_opts, gchar *new_file) return FALSE; break; } - - /* XXX - currently won't work with non real-time mode */ - cf_callback_invoke(cf_cb_live_capture_started, capture_opts->cf); } + cf_callback_invoke(cf_cb_live_capture_started, capture_opts->cf); + return TRUE; } @@ -296,14 +295,14 @@ capture_input_closed(capture_options *capture_opts) main_window_quit(); } - cf_callback_invoke(cf_cb_live_capture_finished, capture_opts->cf); - } else { /* this is a normal mode capture, read in the capture file data */ capture_input_read_all(capture_opts, cf_is_tempfile(capture_opts->cf), cf_get_drops_known(capture_opts->cf), cf_get_drops(capture_opts->cf)); } + cf_callback_invoke(cf_cb_live_capture_finished, capture_opts->cf); + /* We're not doing a capture any more, so we don't have a save file. */ g_assert(capture_opts->save_file); g_free(capture_opts->save_file); |