diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-12-03 09:28:26 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-12-03 09:28:26 +0000 |
commit | 9ff0d6804d6b60a8c1b66649c45473074b1eadc3 (patch) | |
tree | 1d14652d65d1690cfc1980777b9bc90aac75b4c2 /proto_hier_stats.c | |
parent | 4eebf4000393b53ab460b1c209993853f11d9bc9 (diff) |
The "ptr_u" unions no longer have a "next" pointer - they now just have
one member - or have one that's not used, so get rid of those unions.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9151 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r-- | proto_hier_stats.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c index 2e475bde99..266c7dd070 100644 --- a/proto_hier_stats.c +++ b/proto_hier_stats.c @@ -1,7 +1,7 @@ /* proto_hier_stats.c * Routines for calculating statistics based on protocol. * - * $Id: proto_hier_stats.c,v 1.18 2003/11/24 22:11:53 guy Exp $ + * $Id: proto_hier_stats.c,v 1.19 2003/12/03 09:28:19 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -86,10 +86,10 @@ process_node(proto_item *ptree_node, GNode *parent_stat_node, ph_stats_t *ps, gu finfo = PITEM_FINFO(ptree_node); g_assert(finfo); - stat_node = find_stat_node(parent_stat_node, finfo->ptr_u.hfinfo); + stat_node = find_stat_node(parent_stat_node, finfo->hfinfo); /* Assert that the finfo is related to a protocol, not a field. */ - g_assert(finfo->ptr_u.hfinfo->parent == -1); + g_assert(finfo->hfinfo->parent == -1); stats = STAT_NODE_STATS(stat_node); stats->num_pkts_total++; |