diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-11-27 22:29:52 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-11-27 22:29:52 +0000 |
commit | d33d06d9a9d8e407013c523a197457683b2eac1b (patch) | |
tree | 5beeb787a7c48f86f7af74fbed37ef1392a9cbf2 /print.c | |
parent | 7bed6d2087e37d58baeb65fefa82a2e73ea9a9fb (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |