diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-04-23 14:02:58 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-04-23 15:21:19 +0300 |
commit | ca23632064ee137391b035abab2640fb8c027ae0 (patch) | |
tree | 431505b15c753a209e77226db1e1a05c928d3349 /src | |
parent | 0fa1c67543937b2b778adafdfa9148380541f568 (diff) | |
download | libmicrohttpd-ca23632064ee137391b035abab2640fb8c027ae0.tar.gz libmicrohttpd-ca23632064ee137391b035abab2640fb8c027ae0.zip |
basicauth: very minor optimisaion
Diffstat (limited to 'src')
-rw-r--r-- | src/microhttpd/basicauth.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
127 | { | 127 | { |
128 | enum MHD_Result ret; | 128 | enum MHD_Result ret; |
129 | int res; | 129 | int res; |
130 | size_t hlen = strlen (realm) + strlen ("Basic realm=\"\"") + 1; | 130 | size_t hlen = strlen (realm) + MHD_STATICSTR_LEN_ ("Basic realm=\"\"") + 1; |
131 | char *header; | 131 | char *header; |
132 | 132 | ||
133 | if (NULL == response) | 133 | if (NULL == response) |