Wireshark-commits: [Wireshark-commits] master d1ec1e8: Use WTAP_ERR_DECOMPRESS for decompression er

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 8 Oct 2014 22:49:10 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d1ec1e85f8ff7800843952b69a196f0fa4e58f0e
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d1ec1e8 by Guy Harris (guy@xxxxxxxxxxxx):

    Use WTAP_ERR_DECOMPRESS for decompression errors.
    
    Distringuish "the compression data has a problem" from "the capture file
    (not compressed, or after decompression) data has a problem", with
    WTAP_ERR_DECOMPRESS used for the former (whether it's the gzipping
    decoded by our gunzip code or the Sniffer compression) and
    WTAP_ERR_BAD_FILE used for the latter.
    
    Change-Id: I8e6bff7edb480deba00c52a9e5afff607492e085
    Reviewed-on: https://code.wireshark.org/review/4568
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  0066776   Fix --extcap-dlts call in extcap_example.py.
    adds  d1ec1e8   Use WTAP_ERR_DECOMPRESS for decompression errors.


Summary of changes:
 wiretap/ngsniffer.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)