Wireshark-commits: [Wireshark-commits] master dbdcae8: Rename WTAP_ERR_UNSUPPORTED_ENCAP to WTAP_ER

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

Commits:

dbdcae8 by Guy Harris (guy@xxxxxxxxxxxx):

    Rename WTAP_ERR_UNSUPPORTED_ENCAP to WTAP_ERR_UNWRITABLE_ENCAP.
    
    That makes it clearer what the problem is, and that it should only be
    returned by the dump code path, not by the read code path.
    
    Change-Id: Icc5c9cff43be6c073f0467607555fa7138c5d074
    Reviewed-on: https://code.wireshark.org/review/5797
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  40f69b2   Use WTAP_ERR_UNSUPPORTED for input file stuff we can't handle.
    adds  dbdcae8   Rename WTAP_ERR_UNSUPPORTED_ENCAP to WTAP_ERR_UNWRITABLE_ENCAP.


Summary of changes:
 capinfos.c                    |    4 ++--
 capture_info.c                |    2 +-
 captype.c                     |    2 +-
 editcap.c                     |    6 +++---
 epan/wslua/wslua_dumper.c     |    4 ++--
 epan/wslua/wslua_file.c       |    8 ++++----
 file.c                        |   14 +++++++-------
 frame_tvbuff.c                |    2 +-
 mergecap.c                    |    6 +++---
 rawshark.c                    |    2 +-
 reordercap.c                  |    6 +++---
 tshark.c                      |   10 +++++-----
 wiretap/5views.c              |    2 +-
 wiretap/btsnoop.c             |    2 +-
 wiretap/catapult_dct2000.c    |    2 +-
 wiretap/commview.c            |    4 ++--
 wiretap/erf.c                 |    2 +-
 wiretap/eyesdn.c              |    4 ++--
 wiretap/k12.c                 |    2 +-
 wiretap/k12text.l             |    4 ++--
 wiretap/lanalyzer.c           |    2 +-
 wiretap/libpcap.c             |    2 +-
 wiretap/logcat.c              |    2 +-
 wiretap/logcat_text.c         |   14 +++++++-------
 wiretap/netmon.c              |    6 +++---
 wiretap/netscaler.c           |    6 +++---
 wiretap/nettl.c               |    4 ++--
 wiretap/network_instruments.c |    2 +-
 wiretap/netxray.c             |    4 ++--
 wiretap/ngsniffer.c           |    2 +-
 wiretap/pcapng.c              |    4 ++--
 wiretap/snoop.c               |    2 +-
 wiretap/visual.c              |    2 +-
 wiretap/wtap.c                |    2 +-
 wiretap/wtap.h                |    2 +-
 35 files changed, 72 insertions(+), 72 deletions(-)