Mercurial > pidgin
changeset 6432:f9428d38c03b
[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 <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 11 Aug 2003 20:23:56 +0000 |
parents | a10a256b6784 |
children | 91087e6dfbfd |
files | src/plugin.c |
diffstat | 1 files changed, 4 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- 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; } }