diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-02-10 01:55:36 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-02-10 01:55:36 +0000 |
commit | ed27475728548ec8613beae8fbd62cce8daf7421 (patch) | |
tree | 9d11d1be34fb47fb0912c03a807d4a190539237f /file.c | |
parent | 45fa855e815f034478c5c4b9f113303d4574c6ef (diff) |
bugfix for sync_mode captures, wasn't started correctly (cf_callback_invoke(cf_cb_live_capture_started); was never called)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13369 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |