MINOR: pattern: move the update revision to the pat_ref, not the expression
authorWilly Tarreau <w@1wt.eu>
Mon, 2 Nov 2020 14:26:51 +0000 (15:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 18:27:08 +0000 (19:27 +0100)
commit3ee0de1b416fae3c7d9885e37e2592953bace86e
tree391fd8999623040138c34126696e81df91d7b5b1
parent114d698fdeb53c73734df16e68828154fbc1527e
MINOR: pattern: move the update revision to the pat_ref, not the expression

It's not possible to uniquely update a single expression without updating
the pattern reference, I don't know why we've put the revision in the
expression back then, given that it in fact provides an update for a
full pattern. Let's move the revision into the reference's head instead.
include/haproxy/pattern-t.h
src/pattern.c