aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tcp.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-05-05 00:57:59 +0000
committerGuy Harris <guy@alum.mit.edu>2002-05-05 00:57:59 +0000
commitd612dab6df72f48bdc50c89206feee9b242fd439 (patch)
tree7cccd19365f42299a1b4f0a896e5119ed14679c7 /packet-tcp.h
parenta6e169fc272f8bf34137c17bcb58c11c18c21e51 (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. svn path=/trunk/; revision=5396
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 *));