aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tcp.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-05 00:57:59 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-05 00:57:59 +0000
commitefea26cf55dd7f358cabf7c88b685a17cd73fb8a (patch)
tree7cccd19365f42299a1b4f0a896e5119ed14679c7 /packet-tcp.h
parent6264b10b5981f4757f9df4d3293e6494fb098d14 (diff)
Make "tvb_ensure_length_remaining()" return a "guint" - it can't return
a negative value. Use "tvb_ensure_length_remaining()" in "tcp_dissect_pdus()", rather than checking the return value of "tvb_length_remaining()" ourselves, and make various variables and parameters in it "guint" as appropriate. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5396 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-tcp.h')
-rw-r--r--packet-tcp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-tcp.h b/packet-tcp.h
index 40d8a354e5..006b7a3559 100644
--- a/packet-tcp.h
+++ b/packet-tcp.h
@@ -1,6 +1,6 @@
/* packet-tcp.h
*
- * $Id: packet-tcp.h,v 1.10 2002/05/05 00:16:32 guy Exp $
+ * $Id: packet-tcp.h,v 1.11 2002/05/05 00:57:57 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -54,7 +54,7 @@ struct tcpinfo {
*/
extern void
tcp_dissect_pdus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
- gboolean proto_desegment, int fixed_len,
+ gboolean proto_desegment, guint fixed_len,
guint (*get_pdu_len)(tvbuff_t *, int),
void (*dissect_pdu)(tvbuff_t *, packet_info *, proto_tree *));