1
0
mirror of https://git.kore.io/kore.git synced 2024-11-15 22:46:21 +01:00

Unbreak json_yajl example.

This commit is contained in:
Joris Vink 2016-07-06 09:23:41 +02:00
parent 27acc51241
commit 7ac1ea379d

View File

@ -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));