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 7ac1ea379d91f9cb5f634706f44bc405b6ef541c
parent 27acc51241edc357363d384ebfd39f256e204bd7
Author: Joris Vink <joris@coders.se>
Date:   Wed,  6 Jul 2016 09:23:41 +0200

Unbreak json_yajl example.

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

diff --git a/examples/json_yajl/src/json_yajl.c b/examples/json_yajl/src/json_yajl.c @@ -60,7 +60,7 @@ page(struct http_request *req) } /* Grab our body data as a NUL-terminated string. */ - body = kore_buf_stringify(buf); + body = kore_buf_stringify(buf, NULL); /* Parse the body via yajl now. */ node = yajl_tree_parse(body, eb, sizeof(eb));