gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] branch master updated: Helper scripts: minor simplificat


From: gnunet
Subject: [libmicrohttpd] branch master updated: Helper scripts: minor simplification
Date: Mon, 02 Oct 2023 17:19:50 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 596cc4b1 Helper scripts: minor simplification
596cc4b1 is described below

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

    Helper scripts: minor simplification
---
 contrib/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
index 49e25fef..e1c5143f 100755
--- 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)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]