diff options
Diffstat (limited to 'libsylph/prefs_account.c')
| -rw-r--r-- | libsylph/prefs_account.c | 1 |
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); |
