kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit d3149a2a71ca94c740c6981779b19b87e7079549
parent 69f98ef158a064073f9aaa18af77ff2c206d03a2
Author: Joris Vink <joris@coders.se>
Date:   Mon, 18 Aug 2014 21:13:16 +0200

We need at most 2 tokens here

Diffstat:
src/http.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/http.c b/src/http.c @@ -870,7 +870,7 @@ http_populate_multipart_form(struct http_request *req, int *v) ; c = kore_split_string(d, ";", opt, 5); - if (c < 3) + if (c < 2) continue; if (strcasecmp(opt[0], "form-data"))