2007-08-30 [colin] 2.10.0cvs185
[claws.git] / src / plugins / bogofilter / bogofilter.c
index 64eca15cd3f4336ac6ae73af5cb5184324394be8..e9af909fb3037fbddfc6abca838a0578f922599d 100644 (file)
@@ -572,13 +572,11 @@ static gboolean mail_filtering_hook(gpointer source, gpointer data)
                                           bogo_args[0], bogo_args[1], bogo_args[2]);
                if (!prefs_common.no_recv_err_panel) {
                        if (!warned_error) {
-                               alertpanel_error(msg);
+                               alertpanel_error("%s", msg);
                        }
                        warned_error = TRUE;
                } else {
-                       gchar *tmp = g_strdup_printf("%s\n", msg);
-                       log_error(LOG_PROTOCOL, tmp);
-                       g_free(tmp);
+                       log_error(LOG_PROTOCOL, "%s\n", msg);
                }
                g_free(msg);
        }