diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-10-17 14:56:37 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-10-17 14:56:37 +0000 |
commit | e86ebd872d2126a5a68607134f3a4b8bdffde443 (patch) | |
tree | c871a3712b125b86cccd568b053fe29737d53069 /file.c | |
parent | b9dbaf28c0f17c061facedcf11a07757b6e39804 (diff) |
From Michael Mann: Add cf_callback_invoke to cf_open to tidy up the currently open file before opening a new one. Fixes bugs 5987 and 6457.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5987
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6457
svn path=/trunk/; revision=39445
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -289,6 +289,7 @@ cf_open(capture_file *cf, const char *fname, gboolean is_tempfile, int *err) /* The open succeeded. Close whatever capture file we had open, and fill in the information for this file. */ + cf_callback_invoke(cf_cb_file_closing, cf); cf_reset_state(cf); /* Cleanup all data structures used for dissection. */ |