diff options
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r-- | mail/mail-config.c | 2 |
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 { |