diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-05-30 01:56:55 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-05-30 01:56:55 +0000 |
commit | 38783948ca7f4b47c215c49bff380518ee8be60d (patch) | |
tree | 2cca921b6de8c3e88c05cc912756ad6380b7643e /packet-icap.c | |
parent | bd2089e42662e41629b4bd965794295205fcf36e (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.c | 3 |
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); } } |