[balsa] disambiguate logic--new warning from gcc-4.4



commit 8de9268f34d59494da4b8d9546c3d2a0617f3773
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Tue Apr 21 22:11:13 2009 -0400

    disambiguate logic--new warning from gcc-4.4
---
 libbalsa/mailbox_maildir.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libbalsa/mailbox_maildir.c b/libbalsa/mailbox_maildir.c
index 6186eb1..4b1598d 100644
--- a/libbalsa/mailbox_maildir.c
+++ b/libbalsa/mailbox_maildir.c
@@ -783,7 +783,7 @@ libbalsa_mailbox_maildir_sync(LibBalsaMailbox * mailbox, gboolean expunge)
 	    msg_info->local_info.flags &= ~LIBBALSA_MESSAGE_FLAG_RECENT;
 	if (((msg_info->local_info.flags & LIBBALSA_MESSAGE_FLAG_RECENT)
              && strcmp(msg_info->subdir, "new") != 0)
-            || ((!msg_info->local_info.flags & LIBBALSA_MESSAGE_FLAG_RECENT)
+            || (!(msg_info->local_info.flags & LIBBALSA_MESSAGE_FLAG_RECENT)
                 && strcmp(msg_info->subdir, "cur") != 0)
             || FLAGS_CHANGED(msg_info)) {
 	    if (!maildir_sync_add(msg_info, path))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]