talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 14f31efdd61627e1e654347aff6e065c5eb5c2c6
parent c6bdd4be68b16e397b09d16078d06982585a01d1
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Wed, 30 Mar 2016 23:02:14 +0200

Migrate SpamReport passwords to password store correctly.

Diffstat:
Msrc/plugins/spam_report/spam_report_prefs.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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; } }