the `Expunge' config directive didn't work since only the -e command line

argument was consulted.
This commit is contained in:
Michael Elkins 2001-10-02 23:43:09 +00:00
parent e2f1cd779b
commit 4b102ee6ec

2
main.c
View File

@ -285,7 +285,7 @@ main (int argc, char **argv)
if (!fast)
{
if (expunge && (imap->deleted || mail->deleted))
if ((expunge || box->expunge) && (imap->deleted || mail->deleted))
{
/* remove messages marked for deletion */
if (!quiet)