projects
/
project
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f01871b
)
fix json string formatting
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Jan 2011 16:17:40 +0000
(17:17 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Jan 2011 16:17:40 +0000
(17:17 +0100)
blobmsg.c
patch
|
blob
|
history
diff --git
a/blobmsg.c
b/blobmsg.c
index 3e9c7743ac0a14229063e278cff08053fe165933..e5de129e36f09eae74fb43bba02483baffb7bbd4 100644
(file)
--- a/
blobmsg.c
+++ b/
blobmsg.c
@@
-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);