[Commits] [SCM] claws branch, master, updated. 3.13.2-67-g0935eb5

mones at claws-mail.org mones at claws-mail.org
Wed Mar 2 13:38:53 CET 2016


The branch, master has been updated
       via  0935eb5ec473f14c968d33524a0c254f1eff6593 (commit)
      from  1c7797855522a208dbd195a408584dafb55bfa02 (commit)

Summary of changes:
 src/prefs_gtk.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 0935eb5ec473f14c968d33524a0c254f1eff6593
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Wed Mar 2 13:36:29 2016 +0100

    Fix previous fix ;-)

diff --git a/src/prefs_gtk.c b/src/prefs_gtk.c
index 44b6f4f..2fce2f4 100644
--- a/src/prefs_gtk.c
+++ b/src/prefs_gtk.c
@@ -346,7 +346,8 @@ gint prefs_write_param(PrefParam *param, FILE *fp)
 			break;
 		}
 		case P_PASSWORD:
-			return 0; /* Passwords are written to password store. */
+			buf[0] = '\0'; /* Passwords are written to password store. */
+			break;
 		case P_INT:
 			g_snprintf(buf, sizeof(buf), "%s=%d\n", param[i].name,
 				   *((gint *)param[i].data));

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list