aboutsummaryrefslogtreecommitdiffstats
path: root/packet-icap.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-30 01:56:55 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-30 01:56:55 +0000
commit38783948ca7f4b47c215c49bff380518ee8be60d (patch)
tree2cca921b6de8c3e88c05cc912756ad6380b7643e /packet-icap.c
parentbd2089e42662e41629b4bd965794295205fcf36e (diff)
Don't pass "tvb_reported_length_remaining(tvb, offset)" as the fourth
argument to "tvb_new_subset()" - just use -1 if the subset tvbuff is to run to the end of the parent tvbuff. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5597 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-icap.c')
-rw-r--r--packet-icap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-icap.c b/packet-icap.c
index fec2d35056..056cf8aac1 100644
--- a/packet-icap.c
+++ b/packet-icap.c
@@ -226,7 +226,8 @@ is_icap_header:
datalen = tvb_length_remaining(tvb, offset);
if (datalen > 0) {
- call_dissector(data_handle,tvb_new_subset(tvb, offset, -1, tvb_reported_length_remaining(tvb,offset)), pinfo, icap_tree);
+ call_dissector(data_handle,
+ tvb_new_subset(tvb, offset, -1, -1), pinfo, icap_tree);
}
}