X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fplugins%2Fspam_report%2Fspam_report.c;h=e1987c53a2dee4ed2abf3cec3d941a5850e7c0ab;hp=177f27952f0ba6f11bdb08aaec474709e73e072f;hb=125b18131c0e9f3b1d71e56134380bdbc71e0820;hpb=a7a70c6aa50917670ea3897d040457609c4b0242 diff --git a/src/plugins/spam_report/spam_report.c b/src/plugins/spam_report/spam_report.c index 177f27952..e1987c53a 100644 --- a/src/plugins/spam_report/spam_report.c +++ b/src/plugins/spam_report/spam_report.c @@ -222,7 +222,7 @@ static void report_spam(gint id, ReportInterface *intf, MsgInfo *msginfo, gchar switch(intf->type) { case INTF_HTTP_AUTH: if (spamreport_prefs.user[id] && *(spamreport_prefs.user[id])) { - gchar *pass = password_decrypt(spamreport_prefs.pass[id], NULL); + gchar *pass = spamreport_passwd_get(spam_interfaces[id].name); auth = g_strdup_printf("%s:%s", spamreport_prefs.user[id], (pass != NULL ? pass : "")); if (pass != NULL) { memset(pass, 0, strlen(pass)); @@ -407,11 +407,6 @@ const gchar *plugin_version(void) return VERSION; } -void plugin_master_passphrase_change (const gchar *oldp, const gchar *newp) -{ - spamreport_master_passphrase_change(oldp, newp); -} - struct PluginFeature *plugin_provides(void) { static struct PluginFeature features[] =