Wireshark-commits: [Wireshark-commits] master-1.12 cc0377b: Don't write out statistics if we don't

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 21 Dec 2015 22:04:17 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cc0377ba833cd95f14c9edc453d62be09b34d36c
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

cc0377b by Guy Harris (guy@xxxxxxxxxxxx):

    Don't write out statistics if we don't have any.
    
    We don't know when the capture started or ended (the time stamps of the
    first and last packets aren't necessarily the time when the capture
    started or ended), we don't know how many packets were dropped in the
    capture process, and we don't know how many packets were seen in various
    stages before they were received by whatever software dumped them out as
    text, so we have no statistics to report.
    
    Change-Id: Ic6de25242d2ea536f0f17a1a20a4e05cf03d8416
    Reviewed-on: https://code.wireshark.org/review/12813
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 2052db228c7fa76146517b6c3822ea47f7b3f3de)
    Reviewed-on: https://code.wireshark.org/review/12814
    

Actions performed:

    from  655307e   This now needs the new <wsutil/sha1.h>.
    adds  cc0377b   Don't write out statistics if we don't have any.


Summary of changes:
 text2pcap.c |   29 -----------------------------
 1 file changed, 29 deletions(-)