commit | 2ba672726c05f55dc70d3e887444c64a8decca64 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Sep 21 15:24:10 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Sep 21 15:32:31 2017 +0200 |
tree | 50818bf7197a91f49ca12c253c38dc4c3aabbb2a | |
parent | 82967bf9b3e551d93fc5afc24958cc631f0c7fbf [diff] |
MINOR: ist: add a macro to ease const array initialization It's not possible to use strlen() in const arrays even with const strings, but we can use sizeof-1 via a macro. Let's provide this in the IST() macro, as it saves the developer from having to count the characters.