summaryrefslogtreecommitdiff
path: root/libsylph/prefs_account.c
diff options
context:
space:
mode:
authorSimeon Simeonov2018-02-27 21:52:12 +0100
committerSimeon Simeonov2018-02-27 21:52:12 +0100
commit1bb2a9d33e8cd193c21f9995fb7852c7562cafcf (patch)
treebf54cba95a7b7afa68b33f8cb40b53d351b880ff /libsylph/prefs_account.c
parent3f7a3add4dc0814e01c3032d73a4cdd29372f8d4 (diff)
First prototype
Diffstat (limited to 'libsylph/prefs_account.c')
-rw-r--r--libsylph/prefs_account.c1
1 files changed, 1 insertions, 0 deletions
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)
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;
221 while (*p && !g_ascii_isdigit(*p)) p++; 222 while (*p && !g_ascii_isdigit(*p)) p++;
222 id = atoi(p); 223 id = atoi(p);
223 if (id < 0) g_warning("wrong account id: %d\n", id); 224 if (id < 0) g_warning("wrong account id: %d\n", id);