bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] Usage of folder_ interface?


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] Usage of folder_ interface?
Date: Fri, 05 Dec 2003 11:20:53 +0200

Stephen Bylo <address@hidden> wrote:

> I now have a problem (a bug?) just creating a mailbox through imap:
> 
> The attached code just creates a mailbox and nothing else.
> The first run mailbox_open always gives an error - but only for imap.
> I run it like this.

Yes, you've found a bug. Following is a patch that fixes it.

Index: mailbox/imap/mbox.c
--- mailbox/imap/old/mbox.c     Fri Dec  5 11:16:25 2003
+++ mailbox/imap/mbox.c Fri Dec  5 11:17:04 2003
@@ -339,7 +339,8 @@ mailbox_imap_open (mailbox_t mailbox, in
              return status;
            }
          f_imap->state = IMAP_NO_STATE;
-
+         break;
+         
        default:
          status = EINVAL;
          break;


Thank you.
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]