forked from mirrors/kore
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