Force the "fmt" argument of val_to_str() to be non-null. Change the 9P
dissector to use a non-null format. Fixes bug 70. Fix the line endings in the 9P dissector, and set its SVN properties. svn path=/trunk/; revision=14127
This commit is contained in:
parent
cb95a1d842
commit
7a412fadf3
File diff suppressed because it is too large
Load Diff
|
@ -44,6 +44,8 @@ val_to_str(guint32 val, const value_string *vs, const char *fmt) {
|
|||
static gchar str[3][64];
|
||||
static gchar *cur;
|
||||
|
||||
g_assert(fmt != NULL);
|
||||
|
||||
ret = match_strval(val, vs);
|
||||
if (ret != NULL)
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue