X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=plugin.c;h=ba8d8db44d2f554b202ca25558899d6195321dac;hb=2f5a613718f5297febddb3ca7dc860ab6ed8c513;hp=2d5b6c1cb2d0fccd2b4483df3beebb2c5450e4cf;hpb=e0afdb10ae879d26d7f81d1dba8d47978a9a2aa9;p=project%2Frpcd.git diff --git a/plugin.c b/plugin.c index 2d5b6c1..ba8d8db 100644 --- a/plugin.c +++ b/plugin.c @@ -194,7 +194,7 @@ rpc_plugin_parse_signature(struct blob_attr *sig, struct ubus_method *method) struct blob_attr *attr; struct blobmsg_policy *policy = NULL; - if (!sig || blob_id(sig) != BLOBMSG_TYPE_TABLE) + if (!sig || blobmsg_type(sig) != BLOBMSG_TYPE_TABLE) return false; n_attr = 0; @@ -213,7 +213,7 @@ rpc_plugin_parse_signature(struct blob_attr *sig, struct ubus_method *method) blobmsg_for_each_attr(attr, sig, rem) { - type = blob_id(attr); + type = blobmsg_type(attr); if (type == BLOBMSG_TYPE_INT32) {