aboutsummaryrefslogtreecommitdiffstats
path: root/summary.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-08-19 01:17:24 +0000
committerGuy Harris <guy@alum.mit.edu>2005-08-19 01:17:24 +0000
commite67b202e2c4b0b6bcf21bff9ad0fc724346c8d14 (patch)
treee7ca1bbae435f05ab942e776bf3bdd99a6c3eb42 /summary.c
parent1e1df99990cac56d9c264bacd58d7409d67054c7 (diff)
Have "f_datalen" keep track of the number of bytes of uncompressed file
data, so that "f_len" still keeps the size of the underlying file (which is necessary in order to make the progress bar when files are being read work correctly). svn path=/trunk/; revision=15415
Diffstat (limited to 'summary.c')
-rw-r--r--summary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/summary.c b/summary.c
index e9df777805..511cf47f18 100644
--- a/summary.c
+++ b/summary.c
@@ -106,7 +106,7 @@ summary_fill_in(capture_file *cf, summary_tally *st)
}
st->filename = cf->filename;
- st->file_length = cf->f_len;
+ st->file_length = cf->f_datalen;
st->encap_type = cf->cd_t;
st->has_snap = cf->has_snap;
st->snap = cf->snap;