diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-12-31 20:40:34 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-12-31 20:40:34 +0000 |
commit | 8d2350875eea58a8fb8b5609f4057e8f4df93566 (patch) | |
tree | 665ddb309cc496226b09b5d7a24e8dadd4962605 /proto_hier_stats.c | |
parent | a6d765a230c4702223df4a61198f02d800e0e416 (diff) |
Fix a pointer error in find_stat_node.
Define a default width and maximum height for the stats dialog.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4463 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r-- | proto_hier_stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c index 146dfe8c72..c796d7089b 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.8 2001/12/18 19:09:02 gram Exp $ + * $Id: proto_hier_stats.c,v 1.9 2001/12/31 20:40:32 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -49,7 +49,7 @@ find_stat_node(GNode *parent_node, header_field_info *needle_hfinfo) needle_node = g_node_first_child(parent_node); while (needle_node) { - finfo = PITEM_FINFO(needle_node); + finfo = GNODE_PNODE(needle_node); if (finfo && finfo->hfinfo && finfo->hfinfo->id == needle_hfinfo->id) { return needle_node; } |