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:
Gerald Combs 2005-04-18 16:16:57 +00:00
parent cb95a1d842
commit 7a412fadf3
2 changed files with 678 additions and 676 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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;