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 8b1f89bf5f..4adec9a78b 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -1998,7 +1998,7 @@ providers_config_new (void) /* Set the data in the transports page */ interior_notebook = gtk_object_get_data (GTK_OBJECT (transport_page_vbox), "notebook"); page = gtk_notebook_get_current_page (GTK_NOTEBOOK (interior_notebook)); - if (!strncasecmp(transport, "Sendmail", 8)) + if (transport != NULL && !strncasecmp(transport, "Sendmail", 8)) page = 1; else page = 0; |