summaryrefslogtreecommitdiff
path: root/proto_hier_stats.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2001-12-31 20:40:34 +0000
committerGerald Combs <gerald@wireshark.org>2001-12-31 20:40:34 +0000
commite8839785ad4073dbb2838888a21a976c20ba8276 (patch)
tree665ddb309cc496226b09b5d7a24e8dadd4962605 /proto_hier_stats.c
parent30c5551caa87a95fcbe75dd9df654ffd8464f305 (diff)
downloadwireshark-e8839785ad4073dbb2838888a21a976c20ba8276.tar.gz
Fix a pointer error in find_stat_node.
Define a default width and maximum height for the stats dialog. svn path=/trunk/; revision=4463
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r--proto_hier_stats.c4
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;
}