From d33d06d9a9d8e407013c523a197457683b2eac1b Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 27 Nov 2003 22:29:52 +0000 Subject: [PATCH] "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 --- print.c | 4 ++-- 1 file 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 * @@ -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 */