Wireshark-commits: [Wireshark-commits] master be32460: Make peekclassic_read_packet_v56() more like
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 23 Sep 2014 02:10:39 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=be3246060e465d118afa8cc80a3015bdec8ffde6
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

be32460 by Guy Harris (guy@xxxxxxxxxxxx):

    Make peekclassic_read_packet_v56() more like the _v7 version.
    
    We can't use wtap_file_read_expected_bytes() in the _v7 version, as that
    version returns an int, not a Boolean; just expand
    wtap_file_read_expected_bytes() in the _v56 version, to make it look
    similar to the _v7 version.
    
    Change-Id: Id907bac265c123ad5821591c1cf081b5747724d8
    Reviewed-on: https://code.wireshark.org/review/4262
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  e543818   Remove misuse of wtap_file_read_expected_bytes().
    adds  be32460   Make peekclassic_read_packet_v56() more like the _v7 version.


Summary of changes:
 wiretap/peekclassic.c |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)