Bugfix.
* libmailutils/mailbox/mailbox.c (_MBOX_CHECK_FLAGS): Fix return code.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -448,7 +448,7 @@ mu_mailbox_flush (mu_mailbox_t mbox, int expunge) | ... | @@ -448,7 +448,7 @@ mu_mailbox_flush (mu_mailbox_t mbox, int expunge) |
448 | if (mbox->flags & _MU_MAILBOX_REMOVED) \ | 448 | if (mbox->flags & _MU_MAILBOX_REMOVED) \ |
449 | return MU_ERR_MBX_REMOVED; \ | 449 | return MU_ERR_MBX_REMOVED; \ |
450 | if (!(mbox->flags & _MU_MAILBOX_OPEN)) \ | 450 | if (!(mbox->flags & _MU_MAILBOX_OPEN)) \ |
451 | return _MU_MAILBOX_OPEN | 451 | return MU_ERR_NOT_OPEN |
452 | 452 | ||
453 | #define _MBOX_CHECK(mbox,method) \ | 453 | #define _MBOX_CHECK(mbox,method) \ |
454 | _MBOX_CHECK_FLAGS(mbox); \ | 454 | _MBOX_CHECK_FLAGS(mbox); \ | ... | ... |
-
Please register or sign in to post a comment