URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=444cac45b2f845dc0e0baf9110b8ad5b9bd2709d Submitter: Guy Harris (g...@alum.mit.edu) Changed: branch: master Repository: wireshark
Commits: 444cac4 by Guy Harris (g...@alum.mit.edu): valid_but_empty_file is a Boolean, so declare it as such. If it's either going to be -1 or 1, and any value > 0 is "valid but empty", that's just a Boolean, with -1 corresponding to false and 1 corresponding to true. Make it so. Change-Id: Ib7418fe7573b5d2cd1e2ef5de601c0262c8d9de1 Reviewed-on: https://code.wireshark.org/review/25605 Reviewed-by: Guy Harris <g...@alum.mit.edu> Actions performed: from a44eece Check for read errors by checking for PCAPNG_BLOCK_ERROR. adds 444cac4 valid_but_empty_file is a Boolean, so declare it as such. Summary of changes: wiretap/vwr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ___________________________________________________________________________ Sent via: Wireshark-commits mailing list <wireshark-commits@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-commits Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe