comparison src/plugins.c @ 2372:2927c2c26fe6

[gaim-migrate @ 2385] reformatting. nothing else. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 27 Sep 2001 19:17:11 +0000
parents 8a304d8c5ce3
children a7ecfd3f7714
comparison
equal deleted inserted replaced
2371:db02399a9ad7 2372:2927c2c26fe6
225 return; 225 return;
226 } 226 }
227 227
228 plugins = g_list_append(plugins, plug); 228 plugins = g_list_append(plugins, plug);
229 229
230 if (g_module_symbol(plug->handle, "name", (gpointer *)&cfunc)) 230 if (g_module_symbol(plug->handle, "name", (gpointer *)&cfunc)) {
231 plug->name = (*cfunc)(); 231 plug->name = (*cfunc)();
232 else 232 } else {
233 plug->name = NULL; 233 plug->name = NULL;
234 }
234 235
235 if (g_module_symbol(plug->handle, "description", (gpointer *)&cfunc)) 236 if (g_module_symbol(plug->handle, "description", (gpointer *)&cfunc))
236 plug->description = (*cfunc)(); 237 plug->description = (*cfunc)();
237 else 238 else
238 plug->description = NULL; 239 plug->description = NULL;