This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=d74b5f53991d83e0a3c34e8d898cce942981ccb8

The branch, master has been updated
       via  d74b5f53991d83e0a3c34e8d898cce942981ccb8 (commit)
      from  756eb2bcfb781350f70e77d2e41fa8ae6e692cdd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d74b5f53991d83e0a3c34e8d898cce942981ccb8
Author: Sergey Poznyakoff <g...@gnu.org.ua>
Date:   Thu Sep 16 02:10:13 2010 +0300

    Minor fix.
    
    * libmailutils/mailbox.c (mu_mailbox_open): Return MU_ERR_OPEN
    if the mailbox has already been opened.

-----------------------------------------------------------------------

Summary of changes:
 libmailutils/mailbox.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libmailutils/mailbox.c b/libmailutils/mailbox.c
index 9344f01..56503f5 100644
--- a/libmailutils/mailbox.c
+++ b/libmailutils/mailbox.c
@@ -298,6 +298,8 @@ mu_mailbox_open (mu_mailbox_t mbox, int flag)
     return MU_ERR_MBX_NULL;
   if (mbox->_open == NULL)
     return MU_ERR_EMPTY_VFN;
+  if (mbox->flags & _MU_MAILBOX_OPEN)
+    return MU_ERR_OPEN;
   if (flag & MU_STREAM_QACCESS)
     {
       /* Quick access mailboxes are read-only */


hooks/post-receive
-- 
GNU Mailutils

_______________________________________________
Commit-mailutils mailing list
Commit-mailutils@gnu.org
http://lists.gnu.org/mailman/listinfo/commit-mailutils

Reply via email to