# HG changeset patch # User Luke Schierer # Date 1060633436 0 # Node ID f9428d38c03b695edf4b9003155edd9b79a5b8a5 # Parent a10a256b6784f97befa3e89d72c0dc02a0af459c [gaim-migrate @ 6940] (16:11:45) Paco-Paco: lets more than one loader plugin be used at the same time (16:12:22) ChipX86: uh oh (16:12:26) ChipX86: how did that bug occur? :/ (16:13:00) Paco-Paco: I'm not sure but I fought it for a WHILE (16:13:35) Paco-Paco: it took me forever to track it down (16:13:38) Paco-Paco: I kept overlooking it (16:15:08) Paco-Paco: why do they bother telling me to expect some disruption? (16:20:04) Paco-Paco: we're totally going to have Tcl by 0.68 (16:20:24) ChipX86: nice committer: Tailor Script diff -r a10a256b6784 -r f9428d38c03b src/plugin.c --- a/src/plugin.c Mon Aug 11 20:18:15 2003 +0000 +++ b/src/plugin.c Mon Aug 11 20:23:56 2003 +0000 @@ -86,18 +86,11 @@ static gboolean loader_supports_file(GaimPlugin *loader, const char *filename) { - GList *l, *exts; - GaimPlugin *plugin; - - for (l = plugin_loaders; l != NULL; l = l->next) { - plugin = l->data; + GList *exts; - for (exts = GAIM_PLUGIN_LOADER_INFO(plugin)->exts; - exts != NULL; - exts = exts->next) { - - if (is_so_file(filename, (char *)exts->data)) - return TRUE; + for (exts = GAIM_PLUGIN_LOADER_INFO(loader)->exts; exts != NULL; exts = exts->next) { + if (is_so_file(filename, (char *)exts->data)) { + return TRUE; } }