projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d5ac42
)
ubusd: fix processing object method signatures
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 1 Apr 2014 11:45:29 +0000
(13:45 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 1 Apr 2014 11:45:29 +0000
(13:45 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
ubusd_proto.c
patch
|
blob
|
history
diff --git
a/ubusd_proto.c
b/ubusd_proto.c
index 811aa79f478782544e2ee236e09da0a21832a468..130e9a8007aec328cb3be10494f0a0b15c5a4a22 100644
(file)
--- a/
ubusd_proto.c
+++ b/
ubusd_proto.c
@@
-165,7
+165,7
@@
static void ubusd_send_obj(struct ubus_client *cl, struct ubus_msg_buf *ub, stru
s = blob_nest_start(&b, UBUS_ATTR_SIGNATURE);
list_for_each_entry(m, &obj->type->methods, list)
- blob
_put(&b, blob_id(m->data), blob_data(m->data), blob_len(m->data)
);
+ blob
msg_add_blob(&b, m->data
);
blob_nest_end(&b, s);
ubus_send_msg_from_blob(cl, ub, UBUS_MSG_DATA);