Mercurial > pidgin
changeset 15956:5d9e85f2eba4
merge of '0085ab4270a2c3e855d09e04044376efb74433e1'
and '9b3b5e5e845e8180f39ea97f41e9b1f3ecd8de3c'
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 28 Mar 2007 01:03:14 +0000 |
parents | ab7791faefa1 (current diff) 2b8d4fabc103 (diff) |
children | 84bf0f949b0b |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/plugin.c Tue Mar 27 21:01:08 2007 +0000 +++ b/libpurple/plugin.c Wed Mar 28 01:03:14 2007 +0000 @@ -375,7 +375,7 @@ * enter an infinite loop in certain situations by passing * purple_find_plugin_by_id a NULL value. -- ecoffey */ - if (!plugin->info->id || !strcmp(plugin->info->id, "")) + if (plugin->info->id == NULL || *plugin->info->id == '\0') { plugin->error = g_strdup_printf(_("This plugin has not defined an ID.")); purple_debug_error("plugins", "%s is not loadable: info->id is not defined.\n", plugin->path);