aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-12-03 09:00:25 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-12-03 09:00:25 +0000
commit54ca262115c3e77e0e805bd423efd082a29b9f58 (patch)
tree83fb923827bd416f9a0499eff31c8c76b18cdf0a /epan
parent9777faea97f9264596a0343b2f7736b8b9ac7ef7 (diff)
A "dissector_table_t" is no longer a pointer to a hash table, it's a
pointer to a "struct dissector_table", containing a pointer to a hash table and a pointer to a list of handles. Fix "dissector_all_tables_foreach_func()" to understand that. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4312 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r--epan/packet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/packet.c b/epan/packet.c
index e13d86d629..5e95994c4a 100644
--- a/epan/packet.c
+++ b/epan/packet.c
@@ -1,7 +1,7 @@
/* packet.c
* Routines for packet disassembly
*
- * $Id: packet.c,v 1.50 2001/12/03 08:47:30 guy Exp $
+ * $Id: packet.c,v 1.51 2001/12/03 09:00:25 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -543,16 +543,16 @@ dissector_table_foreach_func (gpointer key, gpointer value, gpointer user_data)
static void
dissector_all_tables_foreach_func (gpointer key, gpointer value, gpointer user_data)
{
- GHashTable *hash_table;
+ dissector_table_t sub_dissectors;
dissector_foreach_info_t *info;
g_assert(value);
g_assert(user_data);
- hash_table = value;
+ sub_dissectors = value;
info = user_data;
info->table_name = (gchar*) key;
- g_hash_table_foreach(hash_table, info->next_func, info);
+ g_hash_table_foreach(sub_dissectors->hash_table, info->next_func, info);
}
/*