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:
parent
27acc51241
commit
7ac1ea379d
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user