diff options
author | Matthieu Coudron <mattator@gmail.com> | 2015-11-10 12:30:25 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-11-11 00:22:37 +0000 |
commit | c2afc9edec79b247d02f42ba3c7cad2bc24b9f91 (patch) | |
tree | 29ee4f300505e68f3366c1e244226a167cddbaf5 /epan/dissectors/packet-aeron.c | |
parent | b9b74fcf57375209a8716434c5998168e44b57ca (diff) |
Change prototype of callbacks passed to wmem_tree_foreach so that they
accept the node key as a first parameter.
wmem_tree accepts all sort of keys (strings, integers, soon ranges),
thus it is of interest for various purposes (testing, greedy search) to
know the key of the node.
Change-Id: Ie748b917bef91f0b1ba8cce15bd1b471922641dc
Reviewed-on: https://code.wireshark.org/review/11683
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Evan Huus <eapache@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-aeron.c')
-rw-r--r-- | epan/dissectors/packet-aeron.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-aeron.c b/epan/dissectors/packet-aeron.c index 82f5e6abdd..4e5ca5b306 100644 --- a/epan/dissectors/packet-aeron.c +++ b/epan/dissectors/packet-aeron.c @@ -1965,7 +1965,7 @@ static void aeron_msg_fragment_add(aeron_msg_t * msg, aeron_msg_fragment_t * fra } } -static gboolean aeron_msg_process_orphan_fragments_msg_cb(void * value, void * userdata) +static gboolean aeron_msg_process_orphan_fragments_msg_cb(const void *key _U_, void * value, void * userdata) { aeron_msg_t * msg = (aeron_msg_t *) value; aeron_term_t * term = (aeron_term_t *) userdata; |