Sfoglia il codice sorgente

forgot to add code to parse the `Delete' option

Michael Elkins 24 anni fa
parent
commit
608386f918
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      config.c

+ 7 - 0
config.c

@@ -237,6 +237,13 @@ load_config (const char *where)
 	    else
 		global.expunge = (strcasecmp (val, "yes") == 0);
 	}
+	else if (!strcasecmp ("Delete", cmd))
+	{
+	    if (*cur)
+		(*cur)->delete = (strcasecmp (val, "yes") == 0);
+	    else
+		global.delete = (strcasecmp (val, "yes") == 0);
+	}
 #if 0
 	else if (!strcasecmp ("Poll", cmd))
 	{