diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-12-03 09:00:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-12-03 09:00:25 +0000 |
commit | 57d66834461c279f3feb9fe04d879017b98fdc44 (patch) | |
tree | 83fb923827bd416f9a0499eff31c8c76b18cdf0a /epan | |
parent | c22d3fdc96ececf2318f7f04b790866b8add4407 (diff) | |
download | wireshark-57d66834461c279f3feb9fe04d879017b98fdc44.tar.gz wireshark-57d66834461c279f3feb9fe04d879017b98fdc44.tar.bz2 wireshark-57d66834461c279f3feb9fe04d879017b98fdc44.zip |
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.
svn path=/trunk/; revision=4312
Diffstat (limited to 'epan')
-rw-r--r-- | epan/packet.c | 8 |
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); } /* |