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 02df8c2b..5c383f1a 100644
--- a/src/microhttpd/gen_auth.c
+++ b/src/microhttpd/gen_auth.c
@@ -399,10 +399,10 @@ parse_dauth_params (const char *str,
399 { 399 {
400 if (0 == str[i]) 400 if (0 == str[i])
401 return false; /* Binary zero in parameter value */ 401 return false; /* Binary zero in parameter value */
402 if (';' == str[i])
403 return false; /* Semicolon in parameter value */
404 i++; 402 i++;
405 } 403 }
404 if (';' == str[i])
405 return false; /* Semicolon in parameter value */
406 value_len = i - value_start; 406 value_len = i - value_start;
407 } 407 }
408 /* Skip all whitespaces after parameter value */ 408 /* Skip all whitespaces after parameter value */