aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-06-24 15:08:41 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-06-24 15:08:41 +0000
commitcb801710ba3e784e5523ab8e170eb0f128905108 (patch)
treeab3ca5836759449b34ce6e9f4f99c67727bb652e /file.c
parentebd34c3b280a8c17948548a4e641957f79b3d34e (diff)
From Evan Huus:
Size wrong in "File Set List" for just-finished captures. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7370 svn path=/trunk/; revision=43455
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/file.c b/file.c
index 7fdbf1747a..e5c75f556e 100644
--- a/file.c
+++ b/file.c
@@ -953,6 +953,10 @@ cf_finish_tail(capture_file *cf, int *err)
packets we've read. */
cf->lnk_t = wtap_file_encap(cf->wth);
+ /* Update the details in the file-set dialog, as the capture file
+ * has likely grown since we first stat-ed it */
+ fileset_update_file(cf->filename);
+
if (*err != 0) {
/* We got an error reading the capture file.
XXX - pop up a dialog box? */