]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pattern: Use reference name as filename to read patterns from a file
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 1 Dec 2023 11:04:13 +0000 (12:04 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Dec 2023 09:24:41 +0000 (10:24 +0100)
commit660e4185e18151b9ca0e5bee0fee2d78657975de
tree4932876b440c6fa7a6a43e1935a535b2ecdbcb05
parent533121a56e7fa9f14fd691c4bf5ee37ac6f22d28
MINOR: pattern: Use reference name as filename to read patterns from a file

It is only a small API refactoring. The filename is no longer used when
pat_ref_read_from_file_smp() or pat_ref_read_from_file() functions are
called. The filename was already used to create the reference on the list of
patterns. Thus, we now directly use info from this reference.
src/pattern.c