diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2001-01-11 05:27:37 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-01-11 05:27:37 +0800 |
commit | 18121f04a251a5a179fbec0dc76856299c636198 (patch) | |
tree | 341dfaafb552e67ecaba40f1f3852e1781ca15a2 | |
parent | 4292bd7e850475ecea066f711388a674771ff940 (diff) | |
download | gsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.tar gsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.tar.gz gsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.tar.bz2 gsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.tar.lz gsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.tar.xz gsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.tar.zst gsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.zip |
Prevent Federico's segfault.
2001-01-10 Jeffrey Stedfast <fejj@helixcode.com>
* mail-callbacks.c (send_queued_mail): Prevent Federico's segfault.
svn path=/trunk/; revision=7372
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 807436c18f..82adefbbf7 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,9 @@ 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> + * mail-callbacks.c (send_queued_mail): Prevent Federico's segfault. + +2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> + * mail-config-druid.c (auth_type_changed): Clear the password entry if it's not allowed. (transport_type_changed): Clear the hostname if it is not allowed diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index ee9de6d195..f26380773a 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -211,7 +211,7 @@ send_queued_mail (GtkWidget *widget, gpointer user_data) } account = mail_config_get_default_account (); - if (!account->transport) { + if (!account || !account->transport) { GtkWidget *win = gtk_widget_get_ancestor (GTK_WIDGET (user_data), GTK_TYPE_WINDOW); |