Mercurial > pidgin
diff src/plugin.c @ 8759:184b8c3b6d09
[gaim-migrate @ 9514]
Patch by Stu Tomlinson to fix some screwups I made when moving things to
the new plugin API version.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Thu, 22 Apr 2004 17:15:56 +0000 |
| parents | d7b8eb1f0a18 |
| children | 8cf32769ba1b |
line wrap: on
line diff
--- a/src/plugin.c Thu Apr 22 16:24:05 2004 +0000 +++ b/src/plugin.c Thu Apr 22 17:15:56 2004 +0000 @@ -232,8 +232,9 @@ if (plugin->info->api_version != GAIM_PLUGIN_API_VERSION) { + gaim_debug(GAIM_DEBUG_ERROR, "plugins", "%s is unloadable: API version mismatch %d (need %d)\n", + plugin->path, plugin->info->api_version, GAIM_PLUGIN_API_VERSION); gaim_plugin_destroy(plugin); - return NULL; } @@ -941,6 +942,8 @@ if (loader_info == NULL || loader_info->api_version != GAIM_LOADER_API_VERSION) { + gaim_debug(GAIM_DEBUG_ERROR, "plugins", "%s is unloadable: API version mismatch %d (need %d)\n", + plugin->path, loader_info->api_version, GAIM_LOADER_API_VERSION); return FALSE; } @@ -955,6 +958,8 @@ if (prpl_info == NULL || prpl_info->api_version != GAIM_PRPL_API_VERSION) { + gaim_debug(GAIM_DEBUG_ERROR, "plugins", "%s is unloadable: API version mismatch %d (need %d)\n", + plugin->path, prpl_info->api_version, GAIM_PRPL_API_VERSION); return FALSE; }
