forked from osmocom/wireshark
[GIOP] Use g_slist_prepend().
Change-Id: I3a6c43f617f7634ce0007bc75aa6293eb5e1cad6 Reviewed-on: https://code.wireshark.org/review/18302 Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net> Tested-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
b4f86c9cb8
commit
25122f5ef6
|
@ -1632,7 +1632,7 @@ void register_giop_user(giop_sub_dissector_t *sub, const gchar *name, int sub_pr
|
|||
subh->sub_fn = sub;
|
||||
subh->sub_proto = find_protocol_by_id(sub_proto); /* protocol_t for sub dissectors's proto_register_protocol() */
|
||||
|
||||
giop_sub_list = g_slist_append (giop_sub_list, subh);
|
||||
giop_sub_list = g_slist_prepend (giop_sub_list, subh);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue