Wireshark-commits: [Wireshark-commits] master 4309b96: Sort dump_open_table_base[] in the right ord
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 11 Aug 2015 19:16:56 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4309b964f548d0eb15c9ffbd78c8650fbb06a325
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

4309b96 by Guy Harris (guy@xxxxxxxxxxxx):

    Sort dump_open_table_base[] in the right order.
    
    As the comment says, "Entries must be sorted by
    WTAP_FILE_TYPE_SUBTYPE_xxx values in ascending order."  If they're not,
    the file type to file type string routines don't give the right answer.
    
    Change-Id: I06afe7bb98cb36c54ddc831113bb632598ab2eb0
    Reviewed-on: https://code.wireshark.org/review/9975
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  de70d2a   H225: fix indent (use 2 spaces) and add modelines info
    adds  4309b96   Sort dump_open_table_base[] in the right order.


Summary of changes:
 wiretap/file_access.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)