diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-02-10 01:55:36 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-02-10 01:55:36 +0000 |
commit | 6d3d4bb708cf7862219b0f60ef1675a878c37f8e (patch) | |
tree | 9d11d1be34fb47fb0912c03a807d4a190539237f /file.c | |
parent | 338bda08bdaef8dafe29795bacdbdf823f18ed91 (diff) | |
download | wireshark-6d3d4bb708cf7862219b0f60ef1675a878c37f8e.tar.gz wireshark-6d3d4bb708cf7862219b0f60ef1675a878c37f8e.tar.bz2 wireshark-6d3d4bb708cf7862219b0f60ef1675a878c37f8e.zip |
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
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 |