소스 검색

forgot to add code to parse the `Delete' option

Michael Elkins 24 년 전
부모
커밋
608386f918
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  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))
 	{