Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 90073ab: Remove more hardcoding of ".gz" as the suffi

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 20 Nov 2018 07:07:37 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=90073ab48837c334bc6d7c5d3ee294166edeea60
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

90073ab by Guy Harris (guy@xxxxxxxxxxxx):

    Remove more hardcoding of ".gz" as the suffix for compressed files.
    
    Use the libwiretap APIs to get lists of all compressed file suffixes or
    to get the compressed file suffix for a given compression type.
    
    (The net effect is the same, as the only compression type supported is
    gzip, but if any compression types are added in the future, that code
    won't need to be changed.)
    
    Change-Id: I7de3b764604d50c4c60b6f20dd16ee87fc00e5b2
    Reviewed-on: https://code.wireshark.org/review/30734
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  ce39f9d   DOCSIS: REGRSP-MP: TLV fixes
     add  90073ab   Remove more hardcoding of ".gz" as the suffix for compressed files.


Summary of changes:
 ui/qt/capture_file_dialog.cpp | 54 +++++++++++++++++++++++++++++++++++--------
 1 file changed, 45 insertions(+), 9 deletions(-)