commit | f4edb72e0a02ea610f82702055b856c79814ab4e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Oct 28 10:52:46 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Oct 31 13:13:48 2020 +0100 |
tree | cf286af2794cfe070bf695614186a71722036706 | |
parent | 8c2db71326addbcf9d6c8ae4d2048247031f9e4c [diff] |
MINOR: pattern: make pat_ref_append() return the newly added element It's more convenient to return the element than to return just 0 or 1, as the next thing we'll want to do is to act on this element! In addition it was using variable arguments instead of consts, causing some reuse constraints which were also addressed. This doesn't change its use as a boolean, hence why call places were not modified.