diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2024-05-24 15:37:26 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2024-05-24 15:37:26 +0100 |
commit | 7b19a06c9aa3e658eea4a87622ac74d67c10173f (patch) | |
tree | a8e7b5cc97388891bfdcb74f3956016076f3fbc4 /src/nxt_router.c | |
parent | c38bcee10334a35548cdf54064ff7c11a0d66ed3 (diff) | |
download | unit-7b19a06c9aa3e658eea4a87622ac74d67c10173f.tar.gz unit-7b19a06c9aa3e658eea4a87622ac74d67c10173f.tar.bz2 |
tstr: Constify the 'str' parameter to nxt_tstr_compile()
This allows you to then define strings like
static const nxt_str_t my_str = nxt_string("string");
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src/nxt_router.c')
0 files changed, 0 insertions, 0 deletions