X-Git-Url: http://git.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=ubusd_acl.c;fp=ubusd_acl.c;h=e426a4af95efaf1e610bf640013dd8b7978ec015;hp=f19df9a875c7671257d5c3d4a582edb5371f42a6;hb=a1523d76b016ed46501f61e38ad38999d6c66f52;hpb=c60583743ccf105f5d70270b437d2f7636d21193 diff --git a/ubusd_acl.c b/ubusd_acl.c index f19df9a..e426a4a 100644 --- a/ubusd_acl.c +++ b/ubusd_acl.c @@ -549,7 +549,7 @@ static int ubusd_reply_query(struct ubus_client *cl, struct ubus_msg_buf *ub, st static int ubusd_acl_recv(struct ubus_client *cl, struct ubus_msg_buf *ub, const char *method, struct blob_attr *msg) { if (!strcmp(method, "query")) - return ubusd_reply_query(cl, ub, ubus_parse_msg(ub->data), msg); + return ubusd_reply_query(cl, ub, ubus_parse_msg(ub->data, blob_raw_len(ub->data)), msg); return UBUS_STATUS_INVALID_COMMAND; }