Bump MAX_FILTER_TYPES
authorFabian Keil <fk@fabiankeil.de>
Sat, 9 Sep 2023 09:59:25 +0000 (11:59 +0200)
committerFabian Keil <fk@fabiankeil.de>
Sat, 9 Sep 2023 10:04:13 +0000 (12:04 +0200)
... which should have been done in d128e6aa41 when introducing
the client-body-tagger{} action.

Prevents an assertion in cgi_edit_actions_for_url() from triggering
after e32d03e0 when using the CGI editor with assertions enabled.

project.h

index 04fbe8e..baf7cf6 100644 (file)
--- a/project.h
+++ b/project.h
@@ -1333,9 +1333,9 @@ enum filter_type
 };
 
 #ifdef FEATURE_EXTERNAL_FILTERS
-#define MAX_FILTER_TYPES        9
+#define MAX_FILTER_TYPES        10
 #else
-#define MAX_FILTER_TYPES        8
+#define MAX_FILTER_TYPES        9
 #endif
 
 /**