Wireshark-commits: [Wireshark-commits] master 0885d29: Make sure err_info is always set, and print
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 18 Dec 2014 04:04:23 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0885d2945103236f7f475963f66048291f0b18f1
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

0885d29 by Guy Harris (guy@xxxxxxxxxxxx):

    Make sure err_info is always set, and print it iff it's non-null.
    
    Change-Id: Ib5c600c491a3d8adcfa91c00fa9445283610545b
    Reviewed-on: https://code.wireshark.org/review/5830
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  6011a04   WTAP_ERR_UNWRITABLE_ errors aren't returned by reads or open-for-reading.
    adds  0885d29   Make sure err_info is always set, and print it iff it's non-null.


Summary of changes:
 capinfos.c            |   30 +++++++++----------------
 capture_info.c        |    6 ++---
 captype.c             |    6 +----
 editcap.c             |   12 +++-------
 file.c                |   58 ++++++++++++++++++++++++++++++-------------------
 mergecap.c            |   14 +++---------
 randpkt.c             |    9 +-------
 rawshark.c            |    9 +++++---
 reordercap.c          |   33 ++++++----------------------
 tshark.c              |   24 ++++++++++++--------
 wiretap/file_access.c |    5 +++++
 wiretap/wtap.c        |    2 ++
 12 files changed, 92 insertions(+), 116 deletions(-)