mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04: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…
x
Reference in New Issue
Block a user