From 1ec5b85848fd0fcfa7a8a48ce243a9905ff455b2 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 13 Jan 2013 09:07:32 +0100 Subject: [PATCH] blobmsg: fix blobmsg_parse_array, drop name field requirement Signed-off-by: Felix Fietkau --- blobmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blobmsg.c b/blobmsg.c index 8e2d73a..7257eae 100644 --- 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, true)) + if (!blobmsg_check_attr(attr, false)) return -1; if (tb[i]) -- 2.30.2