From 18121f04a251a5a179fbec0dc76856299c636198 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 10 Jan 2001 21:27:37 +0000 Subject: Prevent Federico's segfault. 2001-01-10 Jeffrey Stedfast * mail-callbacks.c (send_queued_mail): Prevent Federico's segfault. svn path=/trunk/; revision=7372 --- mail/mail-callbacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-callbacks.c') 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); -- cgit