"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:
parent
7bed6d2087
commit
d33d06d9a9
4
print.c
4
print.c
|
@ -1,7 +1,7 @@
|
||||||
/* print.c
|
/* print.c
|
||||||
* Routines for printing packet analysis trees.
|
* 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>
|
* Gilbert Ramirez <gram@alumni.rice.edu>
|
||||||
*
|
*
|
||||||
|
@ -143,7 +143,7 @@ void proto_tree_print_node(GNode *node, gpointer data)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* was a free format label produced? */
|
/* was a free format label produced? */
|
||||||
if (fi->rep && fi->rep->representation) {
|
if (fi->rep) {
|
||||||
label_ptr = fi->rep->representation;
|
label_ptr = fi->rep->representation;
|
||||||
}
|
}
|
||||||
else { /* no, make a generic label */
|
else { /* no, make a generic label */
|
||||||
|
|
Loading…
Reference in New Issue