projects
/
project
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04f194a
)
blobmsg-example: fix length handling in dump_table() calls
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 11 Sep 2013 15:59:33 +0000
(17:59 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 11 Sep 2013 15:59:33 +0000
(17:59 +0200)
examples/blobmsg-example.c
patch
|
blob
|
history
diff --git
a/examples/blobmsg-example.c
b/examples/blobmsg-example.c
index 2c2e703f09c0b564d5ddecdeea53cbc44464aec2..5d0a8d069a65ad9919a33246f86a277d6de8dfbf 100644
(file)
--- a/
examples/blobmsg-example.c
+++ b/
examples/blobmsg-example.c
@@
-95,11
+95,11
@@
static void dump_message(struct blob_buf *buf)
if (tb[FOO_LIST]) {
fprintf(stderr, "List: ");
- dump_table(blobmsg_data(tb[FOO_LIST]), blob_len(tb[FOO_LIST]), 0, true);
+ dump_table(blobmsg_data(tb[FOO_LIST]), blob
msg_data
_len(tb[FOO_LIST]), 0, true);
}
if (tb[FOO_TESTDATA]) {
fprintf(stderr, "Testdata: ");
- dump_table(blobmsg_data(tb[FOO_TESTDATA]), blob_len(tb[FOO_TESTDATA]), 0, false);
+ dump_table(blobmsg_data(tb[FOO_TESTDATA]), blob
msg_data
_len(tb[FOO_TESTDATA]), 0, false);
}
}