From 1cf3fd66d7a22b742f53eaa3b0430554372b458e Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 17 Mar 2005 01:51:12 +0000 Subject: ** See bug #71003, again. 2005-03-16 Not Zed ** See bug #71003, again. * mail-component.c (impl_quit): fix sense of 'can quit' logic. svn path=/trunk/; revision=29044 --- mail/ChangeLog | 6 ++++++ mail/mail-component.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index fe454129dd..730130725c 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2005-03-16 Not Zed + + ** See bug #71003, again. + + * mail-component.c (impl_quit): fix sense of 'can quit' logic. + 2005-03-14 Not Zed ** See bug #73550 diff --git a/mail/mail-component.c b/mail/mail-component.c index 817d23114f..e831978235 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -693,7 +693,7 @@ impl_quit(PortableServer_Servant servant, CORBA_Environment *ev) /* Falls through */ case MC_QUIT_SYNC: if (mc->priv->quit_count > 0) - return TRUE; + return FALSE; mail_cancel_all(); mc->priv->quit_state = MC_QUIT_THREADS; @@ -701,7 +701,7 @@ impl_quit(PortableServer_Servant servant, CORBA_Environment *ev) /* Falls through */ case MC_QUIT_THREADS: /* should we keep cancelling? */ - return mail_msg_active((unsigned int)-1) == 0; + return !mail_msg_active((unsigned int)-1); } return TRUE; -- cgit