diff options
Diffstat (limited to 'src/microhttpd/gen_auth.c')
-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, \ |