diff options
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r-- | mail/mail-session.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c index d3e06419c2..9c5907443e 100644 --- a/mail/mail-session.c +++ b/mail/mail-session.c @@ -446,6 +446,9 @@ mail_session_remember_password (const char *url_string) CamelURL *url; char *simple_url; + if (!passwords) + return; + url = camel_url_new (url_string, NULL); simple_url = camel_url_to_string (url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS); camel_url_free (url); |