aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
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 /mail/mail-config.c
parent588fd23c5c2a93f42e28df892eb8ab7f8078597b (diff)
downloadgsoc2013-evolution-9ea6a8c59ca9ba92e9732a08906cd535b3c16c8f.tar.gz
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
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c2
1 files changed, 1 insertions, 1 deletions
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 {