Wireshark-commits: [Wireshark-commits] master-1.10 68e832f: Don't use WTAP_ERR_UNSUPPORTED for unwr
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 18 Dec 2014 00:24:52 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=68e832fbb65b7085af4b820d12694e695296b544
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

68e832f by Guy Harris (guy@xxxxxxxxxxxx):

    Don't use WTAP_ERR_UNSUPPORTED for unwritable records.
    
    WTAP_ERR_UNSUPPORTED is expected to include an err_info string;
    WTAP_ERR_UNSUPPORTED_ENCAP isn't.  In the trunk, we use a new error code
    for that, and supply and process the err_info string; here, we just use
    WTAP_ERR_UNSUPPORTED_ENCAP, so we don't have to make as extensive changes.
    
    Change-Id: Iaba47c409f9fd0d2edef3386d5d930dd2e370cab
    Reviewed-on: https://code.wireshark.org/review/5825
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  13227a0   This code is used in Wireshark, not TShark; fix messages.
    adds  68e832f   Don't use WTAP_ERR_UNSUPPORTED for unwritable records.


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