comparison src/plugin.c @ 5450:bb1e160467b6

[gaim-migrate @ 5838] Thanks to J P (j_pong) for tracking this down, this fixes base16, and might fix the corrupt buddy lists for the win32 folk also there's a cleanup for a compile warning committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 20 May 2003 00:45:35 +0000
parents 9442e8d0b21d
children cce2d7868c78
comparison
equal deleted inserted replaced
5449:9442e8d0b21d 5450:bb1e160467b6
181 return plugin; 181 return plugin;
182 182
183 plugin = gaim_plugin_new(is_so_file(filename, PLUGIN_EXT), filename); 183 plugin = gaim_plugin_new(is_so_file(filename, PLUGIN_EXT), filename);
184 184
185 if (plugin->native_plugin) { 185 if (plugin->native_plugin) {
186 char *error; 186 const char *error;
187 plugin->handle = g_module_open(filename, 0); 187 plugin->handle = g_module_open(filename, 0);
188 188
189 if (plugin->handle == NULL) { 189 if (plugin->handle == NULL) {
190 error = g_module_error(); 190 error = g_module_error();
191 gaim_debug(GAIM_DEBUG_ERROR, "plugins", "%s is unloadable: %s\n", 191 gaim_debug(GAIM_DEBUG_ERROR, "plugins", "%s is unloadable: %s\n",