Just have read_cap_file()/read_file() return a success/failure indication.
authorGuy Harris <guy@alum.mit.edu>
Sun, 23 Apr 2017 08:18:02 +0000 (01:18 -0700)
committerGuy Harris <guy@alum.mit.edu>
Sun, 23 Apr 2017 08:21:26 +0000 (08:21 +0000)
commite9f5e045f743fd3220f1c8d9ba68214f1feb7359
treece8a02da7562ef8b9152ffc2840d23be42d3a215
parent045d1dc9f1379693d11de7bdc14cf54f31477ce7
Just have read_cap_file()/read_file() return a success/failure indication.

No need to report the precise error code - it's already reported the
error.

Change-Id: Ib52daf094253deac2a10d16793ebf0f42581afd6
Reviewed-on: https://code.wireshark.org/review/21292
Reviewed-by: Guy Harris <guy@alum.mit.edu>
tfshark.c
tshark.c