aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-03-28 21:35:21 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-03-28 21:35:21 +0000
commite548ddf90413a7a988603343b358df7e786ff741 (patch)
treee6455468e332383d0f8e615a832b926aec11918c
parent0b132c9b1d8dba90d92b3ea3a9ccc010ba40a70e (diff)
some minor changes
svn path=/trunk/; revision=13962
-rw-r--r--capture.c9
-rw-r--r--capture_sync.c2
2 files changed, 5 insertions, 6 deletions
diff --git a/capture.c b/capture.c
index ed7b7ad431..390e5ea343 100644
--- a/capture.c
+++ b/capture.c
@@ -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);
diff --git a/capture_sync.c b/capture_sync.c
index 513132988d..4e2ba36d7b 100644
--- a/capture_sync.c
+++ b/capture_sync.c
@@ -324,7 +324,7 @@ sync_pipe_do_capture(capture_options *capture_opts, gboolean is_tempfile) {
argv = sync_pipe_add_arg(argv, &argc, sautostop_duration);
}
- if (!capture_opts->show_info && capture_opts->real_time_mode /* XXX */) {
+ if (!capture_opts->show_info) {
argv = sync_pipe_add_arg(argv, &argc, "-H");
}