fix json list parsing
This commit is contained in:
parent
2d9f917d00
commit
ff585b97c0
3 changed files with 4 additions and 4 deletions
|
@ -139,7 +139,7 @@ static inline int blobmsg_buf_init(struct blob_buf *buf)
|
|||
return blob_buf_init(buf, BLOBMSG_TYPE_TABLE);
|
||||
}
|
||||
|
||||
char *blobmsg_format_json(struct blob_attr *attr);
|
||||
char *blobmsg_format_json(struct blob_attr *attr, bool named);
|
||||
|
||||
#define blobmsg_for_each_attr(pos, attr, rem) \
|
||||
for (rem = blobmsg_data_len(attr), pos = blobmsg_data(attr); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue