aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
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 /mail/mail-mt.c
parenta36bd3b0bee35d6ecf1f4a4d753e9e2e7f42e70c (diff)
downloadgsoc2013-evolution-f26378de36f4702f0e1d83b50b2046ad053798a2.tar.gz
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
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c3
1 files changed, 2 insertions, 1 deletions
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);