From: Fabian Keil <fk@fabiankeil.de>
Date: Sat, 9 Sep 2023 09:59:25 +0000 (+0200)
Subject: Bump MAX_FILTER_TYPES
X-Git-Tag: v_4_0_0~144
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/developer-manual/static/@default-cgi@edit-actions-remove-url?a=commitdiff_plain;h=48282bcd9c6972c177231b66cbad5db7683f2585;p=privoxy.git

Bump MAX_FILTER_TYPES

... 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.
---

diff --git a/project.h b/project.h
index 04fbe8e0..baf7cf6d 100644
--- 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
 
 /**