comparison libpurple/plugin.c @ 24915:568b786c36f9

The remainder of a patch from fqueze to fix some incorrect *printf() function usage when no formatting was actually being used. Fixes #7910
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 06 Jan 2009 02:28:10 +0000
parents 8282911d5e17
children 1b8c18ab762f 68265bcc8814
comparison
equal deleted inserted replaced
24914:1981b04de92e 24915:568b786c36f9
372 * enter an infinite loop in certain situations by passing 372 * enter an infinite loop in certain situations by passing
373 * purple_find_plugin_by_id a NULL value. -- ecoffey 373 * purple_find_plugin_by_id a NULL value. -- ecoffey
374 */ 374 */
375 if (plugin->info->id == NULL || *plugin->info->id == '\0') 375 if (plugin->info->id == NULL || *plugin->info->id == '\0')
376 { 376 {
377 plugin->error = g_strdup_printf(_("This plugin has not defined an ID.")); 377 plugin->error = g_strdup(_("This plugin has not defined an ID."));
378 purple_debug_error("plugins", "%s is not loadable: info->id is not defined.\n", plugin->path); 378 purple_debug_error("plugins", "%s is not loadable: info->id is not defined.\n", plugin->path);
379 plugin->unloadable = TRUE; 379 plugin->unloadable = TRUE;
380 return plugin; 380 return plugin;
381 } 381 }
382 382