Make sure err_info is always set, and print it iff it's non-null.
authorGuy Harris <guy@alum.mit.edu>
Thu, 18 Dec 2014 04:03:47 +0000 (20:03 -0800)
committerGuy Harris <guy@alum.mit.edu>
Thu, 18 Dec 2014 04:04:19 +0000 (04:04 +0000)
commit0885d2945103236f7f475963f66048291f0b18f1
tree2c165dd89f97ee9cc33d39f9b7a62840e0ab269b
parent6011a047d3cd2aba84e7fdd3bf7e8403a2f3563b
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@alum.mit.edu>
12 files changed:
capinfos.c
capture_info.c
captype.c
editcap.c
file.c
mergecap.c
randpkt.c
rawshark.c
reordercap.c
tshark.c
wiretap/file_access.c
wiretap/wtap.c