From 1bb2a9d33e8cd193c21f9995fb7852c7562cafcf Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Tue, 27 Feb 2018 21:52:12 +0100 Subject: First prototype --- libsylph/prefs_account.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libsylph/prefs_account.c') diff --git a/libsylph/prefs_account.c b/libsylph/prefs_account.c index 1aecba9..a16ba3d 100644 --- a/libsylph/prefs_account.c +++ b/libsylph/prefs_account.c @@ -218,6 +218,7 @@ void prefs_account_read_config(PrefsAccount *ac_prefs, const gchar *label) g_free(rcpath); *ac_prefs = tmp_ac_prefs; + ac_prefs->master_password = NULL; while (*p && !g_ascii_isdigit(*p)) p++; id = atoi(p); if (id < 0) g_warning("wrong account id: %d\n", id); -- cgit v1.3