aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-06-29 03:52:36 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-06-29 03:52:36 +0800
commit1d9490ba9db40533d9c1206f2205c0d6bc1f8f5a (patch)
tree80682be5e4234db8fa87ffaffea8577a087a3929 /mail/mail-config.c
parentfcc55e12d5181ff964cad8e69427810eb07f7f3c (diff)
downloadgsoc2013-evolution-1d9490ba9db40533d9c1206f2205c0d6bc1f8f5a.tar
gsoc2013-evolution-1d9490ba9db40533d9c1206f2205c0d6bc1f8f5a.tar.gz
gsoc2013-evolution-1d9490ba9db40533d9c1206f2205c0d6bc1f8f5a.tar.bz2
gsoc2013-evolution-1d9490ba9db40533d9c1206f2205c0d6bc1f8f5a.tar.lz
gsoc2013-evolution-1d9490ba9db40533d9c1206f2205c0d6bc1f8f5a.tar.xz
gsoc2013-evolution-1d9490ba9db40533d9c1206f2205c0d6bc1f8f5a.tar.zst
gsoc2013-evolution-1d9490ba9db40533d9c1206f2205c0d6bc1f8f5a.zip
Don't bother trying to save the passwd if the url is NULL.
2001-06-28 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_write_on_exit): Don't bother trying to save the passwd if the url is NULL. * folder-browser.c (vfolder_mlist): Strip the mlist name to fix bug #3732. svn path=/trunk/; revision=10571
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);