[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-1008-gec4bd3ebc

paul at claws-mail.org paul at claws-mail.org
Fri Sep 25 08:17:48 CEST 2020


The branch, gtk3 has been updated
       via  ec4bd3ebc2190dab7ac3fe30875cf4724d566941 (commit)
      from  a5cd7661f5b2a5c6f0688452fcff223a0b40b864 (commit)

Summary of changes:
 src/plugins/managesieve/sieve_prefs.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit ec4bd3ebc2190dab7ac3fe30875cf4724d566941
Author: Charles E. Lehner <cel at celehner.com>
Date:   Tue Sep 22 14:58:28 2020 -0400

    Allow Sieve config without userid without warning

diff --git a/src/plugins/managesieve/sieve_prefs.c b/src/plugins/managesieve/sieve_prefs.c
index 73932fe88..c40870e98 100644
--- a/src/plugins/managesieve/sieve_prefs.c
+++ b/src/plugins/managesieve/sieve_prefs.c
@@ -526,8 +526,9 @@ struct SieveAccountConfig *sieve_prefs_account_get_config(
 			 * to read the 10th element in order not to break older
 			 * configurations, and to move the password to password
 			 * store.
-			 * If there are not 10 nor 9 elements, something is wrong. */
-		if (num != 9) {
+			 * The userid may be missing if it is unset.
+			 * If there are not 10, 9 or 8 elements, something is wrong. */
+		if (num != 9 && num != 8) {
 			g_warning("failed reading Sieve config elements");
 		}
 	}

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list