projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix json list parsing
[project/libubox.git]
/
examples
/
blobmsg-example.c
diff --git
a/examples/blobmsg-example.c
b/examples/blobmsg-example.c
index
3630208
..
86762d8
100644
(file)
--- a/
examples/blobmsg-example.c
+++ b/
examples/blobmsg-example.c
@@
-128,7
+128,7
@@
int main(int argc, char **argv)
blobmsg_buf_init(&buf);
fill_message(&buf);
dump_message(&buf);
- fprintf(stderr, "json: %s\n", blobmsg_format_json(buf.head
)
);
+ fprintf(stderr, "json: %s\n", blobmsg_format_json(buf.head
, false), true
);
if (buf.buf)
free(buf.buf);