"representation", in an "item_label_t", is now an array, not a pointer,

so "fi->rep->representation" can't be null.

svn path=/trunk/; revision=9108
This commit is contained in:
Guy Harris 2003-11-27 22:29:52 +00:00
parent 7bed6d2087
commit d33d06d9a9
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/* print.c
* Routines for printing packet analysis trees.
*
* $Id: print.c,v 1.60 2003/11/27 17:18:13 ulfl Exp $
* $Id: print.c,v 1.61 2003/11/27 22:29:52 guy Exp $
*
* Gilbert Ramirez <gram@alumni.rice.edu>
*
@ -143,7 +143,7 @@ void proto_tree_print_node(GNode *node, gpointer data)
return;
/* was a free format label produced? */
if (fi->rep && fi->rep->representation) {
if (fi->rep) {
label_ptr = fi->rep->representation;
}
else { /* no, make a generic label */