Wireshark-commits: [Wireshark-commits] master-2.0 2052db2: Don't write out statistics if we don't h
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 21 Dec 2015 22:03:54 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2052db228c7fa76146517b6c3822ea47f7b3f3de
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

2052db2 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>
    

Actions performed:

    from  6c094dc   g_malloc the decrypted key in AES_unwrap(), but always free it.
    adds  2052db2   Don't write out statistics if we don't have any.


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