diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2017-09-26 14:13:48 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2017-09-26 13:54:34 +0000 |
commit | 85c0a7807333d379ca1e0d747b9a424daea2352e (patch) | |
tree | 08aa0ae5fad2e4d952f9d788c5965b25cff18866 /epan | |
parent | a0eb34232f909207282396ce9612078627ed358b (diff) |
plugins: Use g_slist_prepend() instead.
Change-Id: If145137bfd44025ccab762b67960072777efd302
Reviewed-on: https://code.wireshark.org/review/23750
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/tap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tap.c b/epan/tap.c index 0111412d60..44ab2fc2a7 100644 --- a/epan/tap.c +++ b/epan/tap.c @@ -152,7 +152,7 @@ DIAG_ON(pedantic) */ plugin = (tap_plugin *)g_malloc(sizeof (tap_plugin)); plugin->register_tap_listener_fn = register_tap_listener_fn; - tap_plugins = g_slist_append(tap_plugins, plugin); + tap_plugins = g_slist_prepend(tap_plugins, plugin); return TRUE; } |