aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-02-10 01:55:36 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-02-10 01:55:36 +0000
commit6d3d4bb708cf7862219b0f60ef1675a878c37f8e (patch)
tree9d11d1be34fb47fb0912c03a807d4a190539237f
parent338bda08bdaef8dafe29795bacdbdf823f18ed91 (diff)
bugfix for sync_mode captures, wasn't started correctly (cf_callback_invoke(cf_cb_live_capture_started); was never called)
svn path=/trunk/; revision=13369
-rw-r--r--file.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/file.c b/file.c
index 3d345ffe01..85cfbb91fa 100644
--- a/file.c
+++ b/file.c
@@ -502,7 +502,13 @@ cf_read(capture_file *cf)
cf_status_t
cf_start_tail(capture_file *cf, const char *fname, gboolean is_tempfile, int *err)
{
- return cf_open(cf, fname, is_tempfile, err);
+ cf_status_t cf_status;
+
+ cf_status = cf_open(cf, fname, is_tempfile, err);
+ if (cf_status == CF_OK) {
+ cf_callback_invoke(cf_cb_live_capture_started, cf);
+ }
+ return cf_status;
}
cf_read_status_t