diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-08-19 01:17:24 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-08-19 01:17:24 +0000 |
commit | e67b202e2c4b0b6bcf21bff9ad0fc724346c8d14 (patch) | |
tree | e7ca1bbae435f05ab942e776bf3bdd99a6c3eb42 /summary.c | |
parent | 1e1df99990cac56d9c264bacd58d7409d67054c7 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |