aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-09-29 05:11:35 +0800
committerDan Winship <danw@src.gnome.org>2001-09-29 05:11:35 +0800
commitf26378de36f4702f0e1d83b50b2046ad053798a2 (patch)
treeedb82fb1412c4390cb74d866b038ed673e6abb63
parenta36bd3b0bee35d6ecf1f4a4d753e9e2e7f42e70c (diff)
downloadgsoc2013-evolution-f26378de36f4702f0e1d83b50b2046ad053798a2.tar
gsoc2013-evolution-f26378de36f4702f0e1d83b50b2046ad053798a2.tar.gz
gsoc2013-evolution-f26378de36f4702f0e1d83b50b2046ad053798a2.tar.bz2
gsoc2013-evolution-f26378de36f4702f0e1d83b50b2046ad053798a2.tar.lz
gsoc2013-evolution-f26378de36f4702f0e1d83b50b2046ad053798a2.tar.xz
gsoc2013-evolution-f26378de36f4702f0e1d83b50b2046ad053798a2.tar.zst
gsoc2013-evolution-f26378de36f4702f0e1d83b50b2046ad053798a2.zip
Don't call mail_config_service_set_save_passwd if we didn't find a
* mail-mt.c (pass_got): Don't call mail_config_service_set_save_passwd if we didn't find a service. svn path=/trunk/; revision=13231
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-mt.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index f2f2e806aa..9b0e82eac5 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-28 Dan Winship <danw@ximian.com>
+
+ * mail-mt.c (pass_got): Don't call
+ mail_config_service_set_save_passwd if we didn't find a service.
+
2001-09-27 Ettore Perazzoli <ettore@ximian.com>
* mail-config.c (add_shortcut_entry): Just add the shortcut to the
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index 7840ddc03f..58b43c3b2e 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -472,7 +472,8 @@ pass_got (char *string, void *data)
service = mca->transport;
}
- mail_config_service_set_save_passwd (service, remember);
+ if (service)
+ mail_config_service_set_save_passwd (service, remember);
if (mca) {
mail_config_service_set_save_passwd (service, remember);