]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: acl: remove last data fields from the acl_test struct
authorWilly Tarreau <w@1wt.eu>
Fri, 16 Dec 2011 18:16:19 +0000 (19:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Dec 2011 16:33:26 +0000 (17:33 +0100)
acl_test doesn't hold ptr nor len anymore, since everything has moved to
the temporary pattern.

include/types/acl.h

index f687cb025afe0b2f33d86896fe088c0be8ac3d83..35a22a0d443d51391d5a8c6888336413b374e8d2 100644 (file)
@@ -240,8 +240,6 @@ struct acl_pattern {
  * retrieving a value, and an acl_match_* function responsible for testing it.
  */
 struct acl_test {
-       char *ptr;              /* pointer to beginning of value */
-       int len;                /* length of value at ptr, otherwise ignored */
        int flags;              /* ACL_TEST_F_* set to 0 on first call */
        union {                 /* fetch_* functions context for any purpose */
                void *p;        /* any pointer */