mirror of
https://github.com/vale981/libblobpack
synced 2025-03-05 09:51:42 -05:00
fix json string formatting
This commit is contained in:
parent
bd8c50c97e
commit
d64f2549f8
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ static void blobmsg_format_element(struct strbuf *s, struct blob_attr *attr, boo
|
|||
sprintf(buf, "%lld", *(uint64_t *)data);
|
||||
break;
|
||||
case BLOBMSG_TYPE_STRING:
|
||||
blobmsg_puts(s, data, strlen(data));
|
||||
blobmsg_format_string(s, data);
|
||||
return;
|
||||
case BLOBMSG_TYPE_ARRAY:
|
||||
blobmsg_format_json_list(s, data, len, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue