libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 596cc4b1cbe9c0db6cf3bfe1f2910d3883ac8ae8
parent e25a7fa283e01510c5dbd52219d911b29080835f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Mon,  2 Oct 2023 18:19:40 +0300

Helper scripts: minor simplification

Diffstat:
Mcontrib/gen_http_methods_insert.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/gen_http_methods_insert.sh b/contrib/gen_http_methods_insert.sh @@ -89,7 +89,7 @@ FNR > 1 { { indem_m = "Idempotent. " } else { indem_m = "Not idempotent." } - idx_str = gensub(/[^0-9A-Za-z]+/, " ", "g", reference_m) + idx_str = reference_m main_methods[idx_str] = sprintf ("%s\n", "/* " safe_m " " indem_m " " reference_m ". */") mthd_tkn = gensub(/\*/, "ASTERISK", "g", mthd_m) gsub(/[^a-zA-Z0-9_]/, "_", mthd_tkn)