From 6d3d4bb708cf7862219b0f60ef1675a878c37f8e Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Thu, 10 Feb 2005 01:55:36 +0000 Subject: 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 --- file.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'file.c') 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 -- cgit v1.2.1