From: Willy Tarreau Date: Mon, 2 Nov 2020 19:23:10 +0000 (+0100) Subject: CLEANUP: acl: don't reference the generic pattern deletion function anymore X-Git-Tag: v2.4-dev1~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b35aa9b256af6cc7cadf40ef505f17a667bcce03;p=thirdparty%2Fhaproxy.git CLEANUP: acl: don't reference the generic pattern deletion function anymore 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. --- diff --git a/src/http_acl.c b/src/http_acl.c index d31592e977..bf29fc3e1a 100644 --- a/src/http_acl.c +++ b/src/http_acl.c @@ -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 },