Unbreak json_yajl example.

This commit is contained in:
Joris Vink 2016-07-06 09:23:41 +02:00
parent 27acc51241
commit 7ac1ea379d
1 changed files with 1 additions and 1 deletions

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