- workaround imap server bug: lock files are no mailboxes
This commit is contained in:
parent
095e3ec92c
commit
39446bbef9
|
@ -505,6 +505,8 @@ imap_exec (imap_t * imap, const char *fmt, ...)
|
||||||
if (memcmp (arg, global.folder, l))
|
if (memcmp (arg, global.folder, l))
|
||||||
goto next;
|
goto next;
|
||||||
arg += l;
|
arg += l;
|
||||||
|
if (!memcmp (arg + strlen (arg) - 5, ".lock", 5))
|
||||||
|
goto next;
|
||||||
for (box = boxes; box; box = box->next)
|
for (box = boxes; box; box = box->next)
|
||||||
if (!strcmp (box->box, arg))
|
if (!strcmp (box->box, arg))
|
||||||
goto next;
|
goto next;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user