Wireshark-commits: [Wireshark-commits] master-1.8 dd8afe5: Pass the caplen from the struct wtap_pkt

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 10 Feb 2014 19:40:56 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dd8afe56f9dfaaeb9649bff1d8f8c68c8676c736
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.8
Repository: wireshark

Commits:

dd8afe5 by Guy Harris (guy@xxxxxxxxxxxx):

      Pass the caplen from the struct wtap_pkthdr to pcap_read_post_process().
      
      That makes it clearer what the argument should be and, in the case of an
      SPB, passes the correct length (the length *after* any pseudo-header we
      convert to a union wtap_pseudo_header and remove from the raw packet
      data we hand to our caller).
      
      Change-Id: I431738942b4dd10ee0951d549ebf8d12c941c439
      Reviewed-on: https://code.wireshark.org/review/135
      Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
      

Actions performed:

      from  7065ca5   Introduce end-of-line normalization
      adds  dd8afe5   Pass the caplen from the struct wtap_pkthdr to pcap_read_post_process().


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