aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 32911327..2d58e35c 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3116,7 +3116,8 @@ parse_cookie_header (struct MHD_Connection *connection)
3116 hdr_len); 3116 hdr_len);
3117 cpy[hdr_len] = '\0'; 3117 cpy[hdr_len] = '\0';
3118 3118
3119 strict_parsing = (1 == connection->daemon->strict_for_client); 3119 /* TODO: add individual configuration */
3120 strict_parsing = (0 < connection->daemon->strict_for_client);
3120 i = 0; 3121 i = 0;
3121 /* Skip all initial whitespaces */ 3122 /* Skip all initial whitespaces */
3122 while (i < hdr_len && (' ' == cpy[i] || '\t' == cpy[i])) 3123 while (i < hdr_len && (' ' == cpy[i] || '\t' == cpy[i]))