Routines called by "g_node_traverse()" are supposed to return TRUE if
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 23 Mar 2001 21:55:36 +0000 (21:55 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 23 Mar 2001 21:55:36 +0000 (21:55 +0000)
the traversal is supposed to stop when the routine returns and FALSE
otherwise.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3174 f5534014-38df-0310-8fa8-9805f1628bb7

proto_hier_stats.c

index 303d14ee6fba0241092497d13b006e404184a0b1..4247d49c5eac72f395837281e5b0edba51eb7404 100644 (file)
@@ -1,7 +1,7 @@
 /* proto_hier_stats.c
  * Routines for calculating statistics based on protocol.
  *
- * $Id: proto_hier_stats.c,v 1.1 2001/03/22 23:54:44 gram Exp $
+ * $Id: proto_hier_stats.c,v 1.2 2001/03/23 21:55:36 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -186,6 +186,7 @@ stat_node_free(GNode *node, gpointer data)
        if (stats) {
                g_free(stats);
        }
+       return FALSE;
 }
 
 void