diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-07-17 06:55:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-07-17 06:55:29 +0000 |
commit | 47b147ffd119809198871932874f6fc5b7e6e836 (patch) | |
tree | e3040460a5348a10bfe0cba753a7eec70fb5349b /packet-irc.c | |
parent | cc00331455604ca51fa743a4f73f5c899c023a67 (diff) | |
download | wireshark-47b147ffd119809198871932874f6fc5b7e6e836.tar.gz wireshark-47b147ffd119809198871932874f6fc5b7e6e836.tar.bz2 wireshark-47b147ffd119809198871932874f6fc5b7e6e836.zip |
Add an extra argument to "tvb_find_line_end()", which specifies what it
should do if it doesn't find an EOL; if FALSE, it behaves as before,
returning values that treat the line as ending at the end of the tvbuff,
and if TRUE, it returns -1, so its caller can do segment reassembly
until it gets the EOL.
Add an option to the SMTP dissector to do segment reassembly, and do
segment reassembly of the first line.
svn path=/trunk/; revision=5891
Diffstat (limited to 'packet-irc.c')
-rw-r--r-- | packet-irc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-irc.c b/packet-irc.c index 80a5d745ac..e2e6eb593f 100644 --- a/packet-irc.c +++ b/packet-irc.c @@ -1,7 +1,7 @@ /* packet-irc.c * Routines for IRC packet dissection * - * $Id: packet-irc.c,v 1.18 2002/01/24 09:20:48 guy Exp $ + * $Id: packet-irc.c,v 1.19 2002/07/17 06:55:19 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -104,7 +104,7 @@ dissect_irc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) * Find the end of the line. */ linelen = tvb_find_line_end(tvb, offset, -1, - &next_offset); + &next_offset, FALSE); /* * Get a buffer that refers to the line (without |