diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-21 17:38:10 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-21 17:38:10 +0000 |
commit | 109875c7757c713e3a8fbae51186bac98d9b0fed (patch) | |
tree | d6bab9642aa5f8e094a0f2df590a6c806d0c8a41 /file.c | |
parent | 9831d4c4e19a8b31ee70a2e703425c2834a922e6 (diff) |
Remove second (redundant) assignment to fdata->cum_bytes
svn path=/trunk/; revision=30046
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2413,10 +2413,8 @@ ref_time_packets(capture_file *cf) cum_bytes = 0; for (fdata = cf->plist; fdata != NULL; fdata = fdata->next) { - - fdata->cum_bytes = cum_bytes + fdata->pkt_len; /* just add some value here until we know if it is being displayed or not */ - fdata->cum_bytes = cum_bytes + fdata->pkt_len; + fdata->cum_bytes = cum_bytes + fdata->pkt_len; /* If we don't have the time stamp of the first packet in the capture, it's because this is the first packet. Save the time |