From: Andrej Kacian Date: Wed, 30 Mar 2016 21:02:14 +0000 (+0200) Subject: Migrate SpamReport passwords to password store correctly. X-Git-Tag: 3.14.0~132 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=14f31efdd61627e1e654347aff6e065c5eb5c2c6;ds=sidebyside Migrate SpamReport passwords to password store correctly. --- diff --git a/src/plugins/spam_report/spam_report_prefs.c b/src/plugins/spam_report/spam_report_prefs.c index 1aaf29336..86dd190a3 100644 --- a/src/plugins/spam_report/spam_report_prefs.c +++ b/src/plugins/spam_report/spam_report_prefs.c @@ -91,8 +91,8 @@ void spamreport_prefs_init(void) /* Move passwords that are still in main config to password store. */ for (i = 0; i < INTF_LAST; i++) { if (spamreport_prefs.pass[i] != NULL) { - spamreport_passwd_set(spam_interfaces[i].name, - spamreport_prefs.pass[i]); + passwd_store_set(PWS_PLUGIN, "SpamReport", + spam_interfaces[i].name, spamreport_prefs.pass[i], TRUE); passwords_migrated = TRUE; } }