projects
/
oweals
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b5f278
)
blobmsg: fix blobmsg_parse_array, drop name field requirement
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 13 Jan 2013 08:07:32 +0000
(09:07 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 13 Jan 2013 08:07:32 +0000
(09:07 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
blobmsg.c
patch
|
blob
|
history
diff --git
a/blobmsg.c
b/blobmsg.c
index 8e2d73a0b8157872d0876050852d7d6b3564217c..7257eaed6bc72af54475c764afb2a9035a98332c 100644
(file)
--- a/
blobmsg.c
+++ b/
blobmsg.c
@@
-102,7
+102,7
@@
int blobmsg_parse_array(const struct blobmsg_policy *policy, int policy_len,
blob_id(attr) != policy[i].type)
continue;
- if (!blobmsg_check_attr(attr,
tru
e))
+ if (!blobmsg_check_attr(attr,
fals
e))
return -1;
if (tb[i])