aboutsummaryrefslogtreecommitdiffstats
path: root/packet-icap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-05-30 01:56:55 +0000
committerGuy Harris <guy@alum.mit.edu>2002-05-30 01:56:55 +0000
commit4401f1433f8b2db82cf199274f96258662d02aeb (patch)
tree2cca921b6de8c3e88c05cc912756ad6380b7643e /packet-icap.c
parentb5f0786318ecdf66e5eb4683d850595e7364a0d4 (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. svn path=/trunk/; revision=5597
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);
}
}