Wireshark-commits: [Wireshark-commits] master 91afb5a: The subtype_seek_read() functions populate *

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 4 Jun 2014 17:42:58 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=91afb5a36ed9f3fb0056ac3f9aff5d5eda22ba01
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

91afb5a by Michael Tüxen (tuexen@xxxxxxxxxxxxx):

    The subtype_seek_read() functions populate *phdr, not wth->phdr.
    So don't use the values.
    This problem show up on pcapng files resulting from captures of
    multiple interfaces.
    
    Change-Id: I30b0598602b0b69233107d35be4360475d8648d8
    Reviewed-on: https://code.wireshark.org/review/1950
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  a4c3061   Use -O2 option when compiling with MSVC
    adds  91afb5a   The subtype_seek_read() functions populate *phdr, not wth->phdr. So don't use the values. This problem show up on pcapng files resulting from captures of multiple interfaces.


Summary of changes:
 wiretap/wtap.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)