Procházet zdrojové kódy

the `Expunge' config directive didn't work since only the -e command line
argument was consulted.

Michael Elkins před 24 roky
rodič
revize
4b102ee6ec
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      main.c

+ 1 - 1
main.c

@@ -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)