Commit Graph

9 Commits

Author SHA1 Message Date
Guy Harris 01a108e119 The last byte of "foo[N]" is "foo[N-1]", not "foo[N]".
svn path=/trunk/; revision=7743
2003-05-26 21:44:28 +00:00
Gerald Combs dcc9976c13 Fix more string-related nits found by Timo Sirainen/
svn path=/trunk/; revision=7732
2003-05-24 19:51:48 +00:00
Jörg Mayer 52487949b5 Remove used parameter pinfo from dissect_ser
svn path=/trunk/; revision=7328
2003-03-09 03:19:03 +00:00
Guy Harris 180ccef84e Get rid of unused ett_ variables (for fields that don't have subfields).
Put in URLs for the RMI and serialization protocols.

Move value_string arrays, and declarations of static routines, out of
the header file into the .c file.

For integral values with associated value_string tables, just put them
into the protocol trees as integral values and associate the
value_string table with the field.

Use "proto_tree_add_item()" whenever possible.

Use the #define for "JRMI" rather than hardcoding it.

svn path=/trunk/; revision=7076
2003-02-05 06:16:32 +00:00
Jörg Mayer 7c4176d868 Removed trailing whitespaces from .h and .c files using the
winapi_cleanup tool written by Patrik Stridvall for the wine
project.

svn path=/trunk/; revision=6117
2002-08-28 21:04:11 +00:00
Jörg Mayer 173fe5aef4 Replace the types from sys/types.h and netinet/in.h by their glib.h
equivalents for the toplevel directory. The removal of winsock2.h will
hopefully not cause any problems under MSVC++, as those files using
struct timeval still include wtap.h, which still includes winsock2.h.

svn path=/trunk/; revision=5932
2002-08-02 23:36:07 +00:00
Guy Harris 47b147ffd1 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
2002-07-17 06:55:29 +00:00
Guy Harris 77fa06b899 From Joerg Mayer:
dftest.c:
	     Remove #if-0-ed includes

	packet-ieee80211.c, packet-wtls.c, packet-afp.c, packet-wsp.c,
        packet-wtp.c, ethereal_gen.py:
	     Remove redundant include varargs (already in snprintf.h,
	     and required only for snprintf.h)

	Remove unused include of snprintf.h from files not using
	"snprintf()".

svn path=/trunk/; revision=5889
2002-07-17 00:43:03 +00:00
Guy Harris 0feb7affba Java RMI protocol support, from Michael Stiller.
svn path=/trunk/; revision=5590
2002-05-29 18:52:28 +00:00