]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: acl: don't reference the generic pattern deletion function anymore
authorWilly Tarreau <w@1wt.eu>
Mon, 2 Nov 2020 19:23:10 +0000 (20:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 18:27:09 +0000 (19:27 +0100)
A few ACL keyword used to reference pat_delete_gen() as the deletion
function but this is not needed since it's the default one now. Let's
just remove this reference.

src/http_acl.c

index d31592e9776dc25efe11cd6f4606875fe3006e96..bf29fc3e1a6a767a8986c382f51ce3e3da088ca9 100644 (file)
@@ -121,8 +121,8 @@ static struct acl_kw_list acl_kws = {ILH, {
         * and match method are related to the corresponding fetch methods. This
         * is very particular ACL declaration mode.
         */
-       { "http_auth_group", NULL,       PAT_MATCH_STR, NULL,  pat_idx_list_str, pat_delete_gen, NULL, pat_match_auth },
-       { "method",          NULL,       PAT_MATCH_STR, pat_parse_meth, pat_idx_list_str, pat_delete_gen, NULL, pat_match_meth },
+       { "http_auth_group", NULL,       PAT_MATCH_STR, NULL,  pat_idx_list_str, NULL, NULL, pat_match_auth },
+       { "method",          NULL,       PAT_MATCH_STR, pat_parse_meth, pat_idx_list_str, NULL, NULL, pat_match_meth },
 
        { "path",            "path",     PAT_MATCH_STR },
        { "path_beg",        "path",     PAT_MATCH_BEG },