aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 0672b81d6d..6d8b10ead9 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -797,7 +797,7 @@ mail_config_write_on_exit (void)
sources = mail_config_get_sources ();
for ( ; sources; sources = sources->next) {
s = sources->data;
- if (s->save_passwd)
+ if (s->save_passwd && s->url)
mail_session_remember_password (s->url);
}
g_slist_free (sources);