+2008-10-20 18:00 +0100 Vincent Lefevre <vincent@vinc17.org> (11d2c6712c88)
+
+ * pattern.c: Make eat_regexp static.
+
+2008-10-20 09:55 -0700 Kyle Wheeler <kyle@memoryhole.net> (361b298c9fe2)
+
+ * imap/util.c: Fix #3129
+
2008-10-20 09:48 -0700 Brendan Cully <brendan@kublai.com> (f119005f8169)
* imap/imap.c, imap/imap_private.h: Call imap_free_idata instead of
}
imap_fix_path (idata, mx.mbox, mailbox, sizeof (mailbox));
+ if (!*mailbox)
+ strfcpy (mailbox, "INBOX", sizeof (mailbox));
/* we may already be in the folder we're checking */
if (!ascii_strcmp(idata->mailbox, mx.mbox))
/* Clean up path and replace the one in the ctx */
imap_fix_path (idata, mx.mbox, buf, sizeof (buf));
+ if (!*buf)
+ strfcpy (buf, "INBOX", sizeof (buf));
FREE(&(idata->mailbox));
idata->mailbox = safe_strdup (buf);
imap_qualify_path (buf, sizeof (buf), &mx, idata->mailbox);
ctx->data = idata;
imap_fix_path (idata, mx.mbox, mailbox, sizeof (mailbox));
+ if (!*mailbox)
+ strfcpy (mailbox, "INBOX", sizeof (mailbox));
FREE (&mx.mbox);
/* really we should also check for W_OK */
}
imap_fix_path (*hidata, mx.mbox, buf, blen);
+ if (!*buf)
+ strfcpy (buf, "INBOX", blen);
FREE (&mx.mbox);
return 0;
conn = idata->conn;
imap_fix_path (idata, mx.mbox, buf, sizeof (buf));
+ if (!*buf)
+ strfcpy (buf, "INBOX", sizeof (buf));
if (option (OPTIMAPCHECKSUBSCRIBED))
{
return -1;
imap_fix_path (idata, mx.mbox, mailbox, sizeof (mailbox));
+ if (!*mailbox)
+ strfcpy (mailbox, "INBOX", sizeof (mailbox));
if ((fp = fopen (msg->path, "r")) == NULL)
{
}
imap_fix_path (idata, mx.mbox, mbox, sizeof (mbox));
+ if (!*mbox)
+ strfcpy (mbox, "INBOX", sizeof (mbox));
imap_munge_mbox_name (mmbox, sizeof (mmbox), mbox);
/* loop in case of TRYCREATE */