ubusd: fix processing object method signatures

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
Felix Fietkau 2014-04-01 13:45:29 +02:00
parent 1d5ac421a5
commit 7c9e76ed08

View file

@ -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));
blobmsg_add_blob(&b, m->data);
blob_nest_end(&b, s);
ubus_send_msg_from_blob(cl, ub, UBUS_MSG_DATA);