aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-22 07:05:29 +0800
committerDan Winship <danw@src.gnome.org>2000-06-22 07:05:29 +0800
commit9ea6a8c59ca9ba92e9732a08906cd535b3c16c8f (patch)
tree05e6f1fad0ff8f9c20ae8dc3f6a04c6f5a42712d
parent588fd23c5c2a93f42e28df892eb8ab7f8078597b (diff)
downloadgsoc2013-evolution-9ea6a8c59ca9ba92e9732a08906cd535b3c16c8f.tar
gsoc2013-evolution-9ea6a8c59ca9ba92e9732a08906cd535b3c16c8f.tar.gz
gsoc2013-evolution-9ea6a8c59ca9ba92e9732a08906cd535b3c16c8f.tar.bz2
gsoc2013-evolution-9ea6a8c59ca9ba92e9732a08906cd535b3c16c8f.tar.lz
gsoc2013-evolution-9ea6a8c59ca9ba92e9732a08906cd535b3c16c8f.tar.xz
gsoc2013-evolution-9ea6a8c59ca9ba92e9732a08906cd535b3c16c8f.tar.zst
gsoc2013-evolution-9ea6a8c59ca9ba92e9732a08906cd535b3c16c8f.zip
Make this not crash if you don't have a transport configured.
* mail-config.c (create_transport_page): Make this not crash if you don't have a transport configured. svn path=/trunk/; revision=3686
-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 {