Wireshark-commits: [Wireshark-commits] master-1.10 7849e6b: Fix another incorrect message for WTAP_

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 17 Dec 2014 20:03:33 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7849e6b56c2586e21a03a1f8ab5d28e3febb2988
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

7849e6b 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/5812
    

Actions performed:

    from  982393b   Report WTAP_ERR_UNSUPPORTED correctly.
    adds  7849e6b   Fix another incorrect message for WTAP_ERR_UNSUPPORTED.


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