aboutsummaryrefslogtreecommitdiffstats
path: root/proto_hier_stats.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-09 17:33:23 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-09 17:33:23 +0000
commit3512e485ca7cbea07c193f87f029cf5f6959d864 (patch)
tree41b31c399a92ff8fdd4281ab78884c37e6846e78 /proto_hier_stats.c
parentd3174f0d03940b7dce1dcf625002b206b27b92fd (diff)
Add PNODE_FINFO. We've been using PITEM_FINFO on proto_node's. This works because proto_item is typedefed to proto_node. We shouldn't rely on this since this is an implementation detail.
svn path=/trunk/; revision=29354
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r--proto_hier_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c
index 77d3534441..ce3ce1e403 100644
--- a/proto_hier_stats.c
+++ b/proto_hier_stats.c
@@ -85,7 +85,7 @@ process_node(proto_node *ptree_node, GNode *parent_stat_node, ph_stats_t *ps, gu
proto_node *proto_sibling_node;
GNode *stat_node;
- finfo = PITEM_FINFO(ptree_node);
+ finfo = PNODE_FINFO(ptree_node);
g_assert(finfo);
/* If the field info isn't related to a protocol but to a field,