CLEANUP: pattern: rename pat_ref_commit() to pat_ref_commit_elt()
authorWilly Tarreau <w@1wt.eu>
Fri, 15 Jan 2021 13:11:59 +0000 (14:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Jan 2021 13:11:59 +0000 (14:11 +0100)
commitdc2410d093c0c2eef45a5617671a9e97a6f06a00
tree087a1c8cb1387166c22ff1087aadbc8ddab770a0
parent6a9060189d66ca931984706d5e2a970ed913f457
CLEANUP: pattern: rename pat_ref_commit() to pat_ref_commit_elt()

It's about the third time I get confused by these functions, half of
which manipulate the reference as a whole and those manipulating only
an entry. For me "pat_ref_commit" means committing the pattern reference,
not just an element, so let's rename it. A number of other ones should
really be renamed before 2.4 gets released :-/
include/haproxy/pattern.h
src/pattern.c