commit | 168e8de1d06adc7aa3e7e2cc2a36935a77c79b9c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Oct 06 15:29:00 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Oct 07 01:36:51 2021 +0200 |
tree | 92240646a84df0727b648ae90bfe4bffd73d596d | |
parent | 4034e2cb5895c08bd821d4db6b5c47f90c4cd121 [diff] |
MINOR: sample: provide a generic var-to-sample conversion function We're using variable-to-sample conversion at least 4 times in the code, two of which are bogus. Let's introduce a generic conversion function that performs the required checks.