[Privoxy-commits] [privoxy] 02/19: cgi_edit_actions_submit(): Rename a variable and remove an outdated comment
User Git
git at git.privoxy.org
Mon Mar 16 07:54:50 CET 2026
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit 2c70a1e93776e27de0fe9286d1aa59c737e4bfd3
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Tue Mar 3 12:27:51 2026 +0100
cgi_edit_actions_submit(): Rename a variable and remove an outdated comment
---
cgiedit.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/cgiedit.c b/cgiedit.c
index 22ce7a32..b9244c8f 100644
--- a/cgiedit.c
+++ b/cgiedit.c
@@ -3325,10 +3325,7 @@ jb_err cgi_edit_actions_submit(struct client_state *csp,
* 'N' (inactive) and 'X' (no change).
* XXX: bad name.
*/
- char type; /*
- * Abbreviated filter type. Valid types are: 'F' (content filter),
- * 'S' (server-header filter) and 'C' (client-header filter).
- */
+ char filter_type;
int multi_action_index = 0;
/* Generate the keys */
@@ -3347,8 +3344,8 @@ jb_err cgi_edit_actions_submit(struct client_state *csp,
continue;
}
- type = get_char_param(parameters, key_type);
- switch (type)
+ filter_type = get_char_param(parameters, key_type);
+ switch (filter_type)
{
case 'F':
multi_action_index = ACTION_MULTI_FILTER;
@@ -3375,7 +3372,8 @@ jb_err cgi_edit_actions_submit(struct client_state *csp,
#endif
default:
log_error(LOG_LEVEL_ERROR,
- "Unknown filter type: %c for filter %s. Filter ignored.", type, name);
+ "Unknown filter type: %c for filter %s. Filter ignored.",
+ filter_type, name);
continue;
}
assert(multi_action_index);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list