]> granicus.if.org Git - neomutt/commitdiff
Parentheses suggested
authorBrendan Cully <brendan@kublai.com>
Sun, 26 Jun 2011 03:07:57 +0000 (20:07 -0700)
committerBrendan Cully <brendan@kublai.com>
Sun, 26 Jun 2011 03:07:57 +0000 (20:07 -0700)
imap/command.c

index 6d4eda0396ef8e15cf46c923953089af9b86f46a..18e1a57c3df8617e29581523bddf821f631576e2 100644 (file)
@@ -250,7 +250,7 @@ int imap_exec (IMAP_DATA* idata, const char* cmdstr, int flags)
 
   if (rc != IMAP_CMD_OK)
   {
-    if (flags & IMAP_CMD_FAIL_OK && idata->status != IMAP_FATAL)
+    if ((flags & IMAP_CMD_FAIL_OK) && idata->status != IMAP_FATAL)
       return -2;
 
     dprint (1, (debugfile, "imap_exec: command failed: %s\n", idata->buf));
@@ -295,7 +295,7 @@ void imap_cmd_finish (IMAP_DATA* idata)
       dprint (2, (debugfile, "imap_cmd_finish: Expunging mailbox\n"));
       imap_expunge_mailbox (idata);
       /* Detect whether we've gotten unexpected EXPUNGE messages */
-      if (idata->reopen & IMAP_EXPUNGE_PENDING &&
+      if ((idata->reopen & IMAP_EXPUNGE_PENDING) &&
          !(idata->reopen & IMAP_EXPUNGE_EXPECTED))
        idata->check_status = IMAP_EXPUNGE_PENDING;
       idata->reopen &= ~(IMAP_EXPUNGE_PENDING | IMAP_NEWMAIL_PENDING |