aboutsummaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-11-27 22:29:52 +0000
committerGuy Harris <guy@alum.mit.edu>2003-11-27 22:29:52 +0000
commitd33d06d9a9d8e407013c523a197457683b2eac1b (patch)
tree5beeb787a7c48f86f7af74fbed37ef1392a9cbf2 /print.c
parent7bed6d2087e37d58baeb65fefa82a2e73ea9a9fb (diff)
"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
Diffstat (limited to 'print.c')
-rw-r--r--print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print.c b/print.c
index 45d4e7a533..b03adfd03c 100644
--- a/print.c
+++ b/print.c
@@ -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 */