Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-30 03:13:32 +0300
committerFelix Fietkau <nbd@openwrt.org>2011-01-30 03:13:32 +0300
commitff585b97c0b061d3ef7a026a331fa0079e0a7d94 (patch)
treea82f4603a4a61ba3792edc729d8db317487b6c93 /examples
parent2d9f917d000025eaebcccf9fca758aa8b9a4763c (diff)
fix json list parsing
Diffstat (limited to 'examples')
-rw-r--r--examples/blobmsg-example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/blobmsg-example.c b/examples/blobmsg-example.c
index 3630208..86762d8 100644
--- 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);