Wireshark-commits: [Wireshark-commits] master 6b0f846: Fix problem found by Coverity.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 29 Mar 2017 02:31:33 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6b0f846ac35a9775090f85a02f58064b4b0117e6
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

6b0f846 by Guy Harris (guy@xxxxxxxxxxxx):

    Fix problem found by Coverity.
    
    The loop was using bytes_read, but wasn't setting it.  Go back to
    something similar to the previous loop condition, but don't lose the
    error tests.
    
    Fixes Coverity CID 1403388.
    
    Change-Id: I557cbfa6e9ad81491af4fc90e85ce87c71fec8aa
    Reviewed-on: https://code.wireshark.org/review/20776
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  630b5a8   Check for localtime() failing.
    adds  6b0f846   Fix problem found by Coverity.


Summary of changes:
 wiretap/netscaler.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)