[Commits] [SCM] claws branch, master, updated. 3.13.2-68-g5630048

ticho at claws-mail.org ticho at claws-mail.org
Wed Mar 2 13:59:51 CET 2016


The branch, master has been updated
       via  56300484d6eddaf3d077a9dfa97da1b981fa110b (commit)
      from  0935eb5ec473f14c968d33524a0c254f1eff6593 (commit)

Summary of changes:
 src/inc.c |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)


- Log -----------------------------------------------------------------
commit 56300484d6eddaf3d077a9dfa97da1b981fa110b
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Wed Mar 2 13:59:35 2016 +0100

    Make POP3 use password store too.

diff --git a/src/inc.c b/src/inc.c
index c4f82c2..cf86ebd 100644
--- a/src/inc.c
+++ b/src/inc.c
@@ -59,7 +59,7 @@
 #include "log.h"
 #include "hooks.h"
 #include "logwindow.h"
-#include "password.h"
+#include "passwordstore.h"
 
 extern SessionStats session_stats;
 
@@ -575,10 +575,8 @@ static gint inc_start(IncProgressDialog *inc_dialog)
 					"pop3", pop3_get_port(pop3_session),
 					&(pop3_session->pass))) {
 			/* NOP */;
-		} else if (pop3_session->ac_prefs->passwd)
-			pop3_session->pass =
-				password_decrypt(pop3_session->ac_prefs->passwd, NULL);
-		else {
+		} else if ((pop3_session->pass = passwd_store_get(PWS_ACCOUNT,
+					pop3_session->ac_prefs->account_name, PWS_ACCOUNT_RECV)) == NULL) {
 			gchar *pass;
 
 			if (inc_dialog->show_dialog)

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list