gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 07/26: basicauth: very minor optimisaion


From: gnunet
Subject: [libmicrohttpd] 07/26: basicauth: very minor optimisaion
Date: Mon, 25 Apr 2022 15:08:31 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit ca23632064ee137391b035abab2640fb8c027ae0
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Apr 23 14:02:58 2022 +0300

    basicauth: very minor optimisaion
---
 src/microhttpd/basicauth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/basicauth.c b/src/microhttpd/basicauth.c
index f3c5f5b9..b739652e 100644
--- a/src/microhttpd/basicauth.c
+++ b/src/microhttpd/basicauth.c
@@ -127,7 +127,7 @@ MHD_queue_basic_auth_fail_response (struct MHD_Connection 
*connection,
 {
   enum MHD_Result ret;
   int res;
-  size_t hlen = strlen (realm) + strlen ("Basic realm=\"\"") + 1;
+  size_t hlen = strlen (realm) + MHD_STATICSTR_LEN_ ("Basic realm=\"\"") + 1;
   char *header;
 
   if (NULL == response)

-- 
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]