summaryrefslogtreecommitdiff
path: root/libsylph/prefs_account.c
diff options
context:
space:
mode:
authorSimeon Simeonov2018-03-09 14:02:34 +0100
committerSimeon Simeonov2018-03-09 14:02:34 +0100
commitf1babd48f5259186cd1233288992f942d4b5b0bb (patch)
tree54d740ef2201fceb3e54fac31272e80e65079ec7 /libsylph/prefs_account.c
parent57944f6147f077ccf4d84b9d2659f4e8645e8858 (diff)
Complete rewrite of the master password implementation
Diffstat (limited to 'libsylph/prefs_account.c')
-rw-r--r--libsylph/prefs_account.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libsylph/prefs_account.c b/libsylph/prefs_account.c
index 07605fb..1aecba9 100644
--- a/libsylph/prefs_account.c
+++ b/libsylph/prefs_account.c
@@ -218,7 +218,6 @@ void prefs_account_read_config(PrefsAccount *ac_prefs, const gchar *label)
218 g_free(rcpath); 218 g_free(rcpath);
219 219
220 *ac_prefs = tmp_ac_prefs; 220 *ac_prefs = tmp_ac_prefs;
221 ac_prefs->master_password = NULL;
222 while (*p && !g_ascii_isdigit(*p)) p++; 221 while (*p && !g_ascii_isdigit(*p)) p++;
223 id = atoi(p); 222 id = atoi(p);
224 if (id < 0) g_warning("wrong account id: %d\n", id); 223 if (id < 0) g_warning("wrong account id: %d\n", id);