diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-04-10 17:18:45 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-04-10 17:18:45 +0000 |
commit | 63047dfdd5d2a2261e46094401efe1c429419d00 (patch) | |
tree | c8bcf8af2645203dc1aab51c89db87c358018440 /capture.c | |
parent | 70f1945084cd397ace2e3fe2880aeb3c559843b5 (diff) | |
download | wireshark-63047dfdd5d2a2261e46094401efe1c429419d00.tar.gz wireshark-63047dfdd5d2a2261e46094401efe1c429419d00.tar.bz2 wireshark-63047dfdd5d2a2261e46094401efe1c429419d00.zip |
bugfix: call cf_cb_live_capture_finished *if* some packets were captured
svn path=/trunk/; revision=14042
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -282,6 +282,8 @@ capture_input_closed(capture_options *capture_opts) cf_is_tempfile(capture_opts->cf) ? "temporary " : ""); cf_close(capture_opts->cf); /* we have closed the capture file, don't call cf_cb_live_capture_finished! */ + } else { + cf_callback_invoke(cf_cb_live_capture_finished, capture_opts->cf); } break; case CF_READ_ERROR: |