diff libpurple/plugin.c @ 24884: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 68265bcc8814 1b8c18ab762f
line wrap: on
line diff
--- a/libpurple/plugin.c	Tue Jan 06 01:25:17 2009 +0000
+++ b/libpurple/plugin.c	Tue Jan 06 02:28:10 2009 +0000
@@ -374,7 +374,7 @@
 	 */
 	if (plugin->info->id == NULL || *plugin->info->id == '\0')
 	{
-		plugin->error = g_strdup_printf(_("This plugin has not defined an ID."));
+		plugin->error = g_strdup(_("This plugin has not defined an ID."));
 		purple_debug_error("plugins", "%s is not loadable: info->id is not defined.\n", plugin->path);
 		plugin->unloadable = TRUE;
 		return plugin;