[Commits] [SCM] claws branch, master, updated. 3.16.0-245-g99c3a40

ticho at claws-mail.org ticho at claws-mail.org
Sun Jul 22 21:08:15 CEST 2018


The branch, master has been updated
       via  99c3a400fcec1e232b2807e98d896e543b682e2c (commit)
      from  0050d6e5ba1cc3aaf5faa541e011794d49259caa (commit)

Summary of changes:
 src/plugins/managesieve/managesieve.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 99c3a400fcec1e232b2807e98d896e543b682e2c
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sun Jul 22 21:07:46 2018 +0200

    Fix auth retry in Managesieve - wrong state variable was being set.

diff --git a/src/plugins/managesieve/managesieve.c b/src/plugins/managesieve/managesieve.c
index c145715..74b08d3 100644
--- a/src/plugins/managesieve/managesieve.c
+++ b/src/plugins/managesieve/managesieve.c
@@ -748,7 +748,7 @@ static gint sieve_session_recv_msg(Session *session, const gchar *msg)
 	case SIEVE_AUTH_CRAM_MD5:
 		if (response_is_no(msg)) {
 			log_print(LOG_PROTOCOL, "Sieve auth failed\n");
-			session->state = SIEVE_RETRY_AUTH;
+			sieve_session->state = SIEVE_RETRY_AUTH;
 			ret = SE_AUTHFAIL;
 		} else if (response_is_ok(msg)) {
 			log_print(LOG_PROTOCOL, "Sieve auth completed\n");

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list