Commit Graph

5 Commits

Author SHA1 Message Date
Jeff Morriss bb323055b2 match_strval() may return NULL so don't blindly pass its return value into col_add_*() or proto_add_*(); use val_to_str() (returning "Unknown (%d)" if no match is found) instead.
svn path=/trunk/; revision=24557
2008-03-04 21:05:21 +00:00
Jeff Morriss fc7b16d9df Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2331 : Replace match_strval() with val_to_str() returning "Unknown" if no match was found. This prevents us from passing a NULL pointer (which should replace a %s in the format string) which was causing g_vsnprintf() to core (at least on Solaris and, apparently, Windows).
svn path=/trunk/; revision=24555
2008-03-04 20:11:50 +00:00
Jörg Mayer d987ac4127 Fixes for: warning: function declaration isn't a prototype
svn path=/trunk/; revision=21082
2007-03-21 04:54:20 +00:00
Guy Harris 3094d7e3f6 dissect_roofnet_link() returns no value and nothing expects it to;
declare it to return void, not int.

Get rid of an unused variable.

svn path=/trunk/; revision=20211
2006-12-24 20:40:19 +00:00
Jaap Keuter 5ce80ed046 From Sebastien Tandel:
Here is a patch for the dissector of the new Roofnet protocol.

svn path=/trunk/; revision=20154
2006-12-19 22:16:54 +00:00