diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-02-07 03:12:07 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-02-07 03:12:07 +0300 |
commit | 6bbde6e647043344288c1da5d53726508a718ab8 (patch) | |
tree | 23339597277e17bf3eb78ee4afd4d043898625ac /blobmsg.c | |
parent | 932914c1b1ab4b4e94b62c9e6ed9935d4f0b245e (diff) |
allow blobmsg_add_field to add arrays/tables
Diffstat (limited to 'blobmsg.c')
-rw-r--r-- | blobmsg.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -188,10 +188,6 @@ blobmsg_add_field(struct blob_buf *buf, int type, const char *name, struct blob_attr *attr; void *data_dest; - if (type == BLOBMSG_TYPE_ARRAY || - type == BLOBMSG_TYPE_TABLE) - return -1; - attr = blobmsg_new(buf, type, name, len, &data_dest); if (!attr) return -1; |