projects
/
project
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e3efdcf
)
blobmsg-example: fix compile errors
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 21 Oct 2012 01:40:53 +0000
(
03:40
+0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 21 Oct 2012 01:40:53 +0000
(
03:40
+0200)
examples/blobmsg-example.c
patch
|
blob
|
history
diff --git
a/examples/blobmsg-example.c
b/examples/blobmsg-example.c
index
86762d8
..
2c2e703
100644
(file)
--- a/
examples/blobmsg-example.c
+++ b/
examples/blobmsg-example.c
@@
-1,6
+1,7
@@
#include <stdio.h>
#include "blobmsg.h"
+#include "blobmsg_json.h"
static const char *indent_str = "\t\t\t\t\t\t\t\t\t\t\t\t\t";
@@
-128,7
+129,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, false)
, true
);
+ fprintf(stderr, "json: %s\n", blobmsg_format_json(buf.head, false));
if (buf.buf)
free(buf.buf);