aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-config.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 0c2152d7bc..d038742e69 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2000-06-21 Dan Winship <danw@helixcode.com>
+ * mail-config.c (create_transport_page): Make this not crash if
+ you don't have a transport configured.
+
* message-list.c: Update received date to work like sent date.
2000-06-21 Peter Williams <peterw@helixcode.com>
diff --git a/mail/mail-config.c b/mail/mail-config.c
index a45e6881ee..56ed19824a 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -959,7 +959,7 @@ create_transport_page (GtkWidget *vbox, GList *transports, char **urlp)
optionmenu = gtk_object_get_data (GTK_OBJECT (vbox), "stype_optionmenu");
- if (!strncasecmp(*urlp, "sendmail", 8)) {
+ if (*urlp && !strncasecmp(*urlp, "sendmail", 8)) {
menuitem = gtk_object_get_data (GTK_OBJECT (vbox), "Sendmail");
gtk_option_menu_set_history (GTK_OPTION_MENU (optionmenu), 1);
} else {