aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
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);