aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-edonkey.c
AgeCommit message (Collapse)AuthorFilesLines
2005-07-30Make some funtions static. More char -> const char warning fixesJörg Mayer1-2/+2
svn path=/trunk/; revision=15146
2005-07-28some more memification of tvb_get_string() no obvious memleaks fixed this ↵Ronnie Sahlberg1-2/+1
time :-( svn path=/trunk/; revision=15131
2005-06-26Get rid of the private "my_match_strval()" routine in many dissectors;Guy Harris1-5/+4
add a "match_strval_idx()" routine that does the same thing, and have "match_strval()" call it. Make those routines, and "val_to_str()", return a "const" pointer. Update dissectors as necessary to squelch compiler warnings produced by that. Use "val_to_str()" rather than using "match_strval()" and then, if the result is null, substituting a specific string. Clean up some other "match_strval()"/"val_to_str()" usages. Add a null pointer check in the NDPS dissector's "attribute_value()" routine, as it's not clear that "global_attribute_name" won't be null at that point. Make some global variables in the AFS4INT dissector local. Make some routines not used outside the module they're in static. Make some tables "static const". Clean up white space. Fix Gerald's address in some files. svn path=/trunk/; revision=14786
2004-12-31There are no guarantees that "strncasecmp()" works withGuy Harris1-3/+5
non-null-terminated strings, so be safe and fetch the metatag string with "tvb_get_string()". svn path=/trunk/; revision=12896
2004-11-03Use the #define for the eDonkey-over-TCP header length.Guy Harris1-2/+3
svn path=/trunk/; revision=12477
2004-11-03Add support for desegmentation of eDonkey-over-TCP.Guy Harris1-105/+132
Clean up indentation. Give edonkey.protocol a value_string table. svn path=/trunk/; revision=12476
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+1435
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410