aboutsummaryrefslogtreecommitdiffstats
path: root/epan/req_resp_hdrs.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-20 04:37:03 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-20 04:37:03 +0000
commitf81cba0006f0384eb7ded4d5f47066c69525c127 (patch)
tree0b30d719e7fdc4c8a64e783db9670e3eb6eee55b /epan/req_resp_hdrs.c
parent985d3261662012fc2201ea326ab13d8311b84de3 (diff)
There's no guaranteee that "req_resp_hdrs_do_reassembly()" gets called
only at the beginning of a tvbuff, so it needs an argument that's the starting offset in the tvbuff. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13128 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/req_resp_hdrs.c')
-rw-r--r--epan/req_resp_hdrs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/req_resp_hdrs.c b/epan/req_resp_hdrs.c
index d9cf1eff1d..fe34b820b4 100644
--- a/epan/req_resp_hdrs.c
+++ b/epan/req_resp_hdrs.c
@@ -38,10 +38,9 @@
* Optionally do reassembly of the request/response line, headers, and body.
*/
gboolean
-req_resp_hdrs_do_reassembly(tvbuff_t *tvb, packet_info *pinfo,
+req_resp_hdrs_do_reassembly(tvbuff_t *tvb, int offset, packet_info *pinfo,
gboolean desegment_headers, gboolean desegment_body)
{
- gint offset = 0;
gint next_offset;
gint next_offset_sav;
gint length_remaining, reported_length_remaining;