Wireshark-commits: [Wireshark-commits] master 444cac4: valid_but_empty_file is a Boolean, so declar

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 04 Feb 2018 23:19:07 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=444cac45b2f845dc0e0baf9110b8ad5b9bd2709d
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

444cac4 by Guy Harris (guy@xxxxxxxxxxxx):

    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 <guy@xxxxxxxxxxxx>
    

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(-)