aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);