comparison libpurple/plugin.c @ 21192:5d93e197ba44

Fix a syntax error so this compiles.
author Richard Laager <rlaager@wiktel.com>
date Sat, 06 Oct 2007 23:07:45 +0000
parents a06ddc1513e2
children 67940cc52dc4
comparison
equal deleted inserted replaced
21191:992d520224f7 21192:5d93e197ba44
642 g_return_val_if_fail(purple_plugin_is_loaded(plugin), FALSE); 642 g_return_val_if_fail(purple_plugin_is_loaded(plugin), FALSE);
643 643
644 purple_debug_info("plugins", "Unloading plugin %s\n", plugin->info->name); 644 purple_debug_info("plugins", "Unloading plugin %s\n", plugin->info->name);
645 645
646 /* Unload all plugins that depend on this plugin. */ 646 /* Unload all plugins that depend on this plugin. */
647 for (l = plugin->dependent_plugins, l != NULL, l = ll) { 647 for (l = plugin->dependent_plugins; l != NULL; l = ll) {
648 const char * dep_name = (const char *)l->data; 648 const char * dep_name = (const char *)l->data;
649 PurplePlugin *dep_plugin; 649 PurplePlugin *dep_plugin;
650 650
651 /* Store a pointer to the next element in the list. 651 /* Store a pointer to the next element in the list.
652 * This is because we'll be modifying this list in the loop. */ 652 * This is because we'll be modifying this list in the loop. */