kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 4b0e4c63f880826f0d50c9f1e980fdf86d10c03c
parent 380b7dc1d723708b1dfe66c579e180fee6373c47
Author: Joris Vink <joris@coders.se>
Date:   Sun,  3 Aug 2014 16:43:37 +0200

Correct http_argument_get_string() macro

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

diff --git a/includes/http.h b/includes/http.h @@ -111,7 +111,7 @@ struct http_arg { http_argument_get(r, n, so, no, l, t) #define http_argument_get_string(n, o, l) \ - http_argument_type(req, n, o, NULL, l, HTTP_ARG_TYPE_STRING) + http_argument_type(req, n, (void **)o, NULL, l, HTTP_ARG_TYPE_STRING) #define http_argument_get_byte(n, o) \ http_argument_type(req, n, NULL, o, NULL, HTTP_ARG_TYPE_BYTE)