Wireshark-commits: [Wireshark-commits] master-1.12 bfb2b12: Fix another incorrect message for WTAP_
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 17 Dec 2014 19:54:35 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bfb2b12ff269dfd95086b679178da6bf4d3ae2f4
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

bfb2b12 by Guy Harris (guy@xxxxxxxxxxxx):

    Fix another incorrect message for WTAP_ERR_UNSUPPORTED.
    
    WTAP_ERR_FILE_UNKNOWN_FORMAT is reported if the file is in a format that
    libwiretap doesn't know about (either because it's not a capture file at
    all or because it's a capture file in a format it doesn't support).
    WTAP_ERR_UNSUPPORTED is for files in a *known* format that are using
    features or file format elements (record type, link-layer header type,
    etc.) that libwireshark doesn't support.  Fix another copy-and-pasteo
    causing WTAP_ERR_UNSUPPORTED to be reported with a message appropriate
    for WTAP_ERR_FILE_UNKNOWN_FORMAT.
    
    Change-Id: Ib35e2a6b6c62517887e0386f0fed1795db335439
    Reviewed-on: https://code.wireshark.org/review/5810
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit e00f5852960163a1427487e3f0df7c7473b53a6d)
    Reviewed-on: https://code.wireshark.org/review/5811
    

Actions performed:

    from  940e24a   Report WTAP_ERR_UNSUPPORTED correctly.
    adds  bfb2b12   Fix another incorrect message for WTAP_ERR_UNSUPPORTED.


Summary of changes:
 file.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)