diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-07-21 20:31:30 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-07-25 16:20:48 +0300 |
commit | 658e94e1107724a4a645fef90a1521a1eb2aaaf8 (patch) | |
tree | 5b7b99783948c95dfc2db40aeb18c851209b510c | |
parent | 8714ba41f7fa663c4f50cbd30cdafdb2d760981a (diff) | |
download | libmicrohttpd-658e94e1107724a4a645fef90a1521a1eb2aaaf8.tar.gz libmicrohttpd-658e94e1107724a4a645fef90a1521a1eb2aaaf8.zip |
gen_auth: cosmetics
-rw-r--r-- | src/microhttpd/gen_auth.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/microhttpd/gen_auth.c b/src/microhttpd/gen_auth.c index 26cf19ad..71a1a742 100644 --- a/src/microhttpd/gen_auth.c +++ b/src/microhttpd/gen_auth.c | |||
@@ -296,10 +296,9 @@ parse_dauth_params (const char *str, | |||
296 | { | 296 | { |
297 | if (userhash.quoted) | 297 | if (userhash.quoted) |
298 | pdauth->userhash = | 298 | pdauth->userhash = |
299 | MHD_str_equal_caseless_quoted_bin_n (userhash.value.str, | 299 | MHD_str_equal_caseless_quoted_s_bin_n (userhash.value.str, \ |
300 | userhash.value.len, | 300 | userhash.value.len, \ |
301 | "true", | 301 | "true"); |
302 | MHD_STATICSTR_LEN_ ("true")); | ||
303 | else | 302 | else |
304 | pdauth->userhash = | 303 | pdauth->userhash = |
305 | MHD_str_equal_caseless_s_bin_n_ ("true", userhash.value.str, \ | 304 | MHD_str_equal_caseless_s_bin_n_ ("true", userhash.value.str, \ |