aboutsummaryrefslogtreecommitdiffstats
path: root/epan/req_resp_hdrs.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-01-20 04:37:03 +0000
committerGuy Harris <guy@alum.mit.edu>2005-01-20 04:37:03 +0000
commitc04a9a418006dfad34f25e644789ce44d6584b78 (patch)
tree0b30d719e7fdc4c8a64e783db9670e3eb6eee55b /epan/req_resp_hdrs.c
parent2b7ca484ace0264f11cf30e5dd3e1c7c78a5530e (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. svn path=/trunk/; revision=13128
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;