aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-09-26 14:13:48 +0100
committerJoão Valverde <j@v6e.pt>2017-09-26 13:54:34 +0000
commit85c0a7807333d379ca1e0d747b9a424daea2352e (patch)
tree08aa0ae5fad2e4d952f9d788c5965b25cff18866 /wiretap
parenta0eb34232f909207282396ce9612078627ed358b (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 'wiretap')
-rw-r--r--wiretap/wtap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c
index c9257e728e..64c10156eb 100644
--- a/wiretap/wtap.c
+++ b/wiretap/wtap.c
@@ -73,7 +73,7 @@ check_for_wtap_plugin(GModule *handle)
DIAG_OFF(pedantic)
plugin->register_wtap_module = (void (*)(void))gp;
DIAG_ON(pedantic)
- wtap_plugins = g_slist_append(wtap_plugins, plugin);
+ wtap_plugins = g_slist_prepend(wtap_plugins, plugin);
return TRUE;
}