diff options
author | Evan Huus <evan.huus@jadedpixel.com> | 2014-06-19 19:27:47 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-06-19 19:55:31 +0000 |
commit | 5ed05dd7473ad443cc9a3a624fc8f5ec4c22dc18 (patch) | |
tree | 53e202558a2cde0a1e540e06ba60de9a39fa249a /asn1/camel | |
parent | 627de38a80680e68b648efce86b0bafced963c85 (diff) |
batch of manual tvb_length conversions
Change-Id: Ib3a1ddc4342a7a8648d6ed8bfcb35aa229c56a27
Reviewed-on: https://code.wireshark.org/review/2445
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'asn1/camel')
-rw-r--r-- | asn1/camel/packet-camel-template.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asn1/camel/packet-camel-template.c b/asn1/camel/packet-camel-template.c index bdda6fe680..0a64de3386 100644 --- a/asn1/camel/packet-camel-template.c +++ b/asn1/camel/packet-camel-template.c @@ -1104,7 +1104,7 @@ dissect_camel_v1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, voi tap_queue_packet(camel_tap, pinfo, gp_camelsrt_info); } - return tvb_length(tvb); + return tvb_captured_length(tvb); } static int @@ -1142,7 +1142,7 @@ dissect_camel_v2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, voi tap_queue_packet(camel_tap, pinfo, gp_camelsrt_info); } - return tvb_length(tvb); + return tvb_captured_length(tvb); } static int @@ -1179,7 +1179,7 @@ dissect_camel(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* tap_queue_packet(camel_tap, pinfo, gp_camelsrt_info); } - return tvb_length(tvb); + return tvb_captured_length(tvb); } /*--- proto_reg_handoff_camel ---------------------------------------*/ |