aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/gen_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/gen_auth.c')
-rw-r--r--src/microhttpd/gen_auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/gen_auth.c b/src/microhttpd/gen_auth.c
index 67bd9dc6..26cf19ad 100644
--- a/src/microhttpd/gen_auth.c
+++ b/src/microhttpd/gen_auth.c
@@ -302,8 +302,8 @@ parse_dauth_params (const char *str,
302 MHD_STATICSTR_LEN_ ("true")); 302 MHD_STATICSTR_LEN_ ("true"));
303 else 303 else
304 pdauth->userhash = 304 pdauth->userhash =
305 (MHD_STATICSTR_LEN_ ("true") == userhash.value.len) && 305 MHD_str_equal_caseless_s_bin_n_ ("true", userhash.value.str, \
306 (0 == memcmp (str, userhash.value.str, userhash.value.len)); 306 userhash.value.len);
307 307
308 } 308 }
309 else 309 else