projects
/
oweals
/
rpcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22c7c26
)
plugin: use blobmsg_type() instead of blob_id()
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 12 Sep 2013 11:36:49 +0000
(13:36 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 12 Sep 2013 11:36:49 +0000
(13:36 +0200)
plugin.c
patch
|
blob
|
history
diff --git
a/plugin.c
b/plugin.c
index 2d5b6c1cb2d0fccd2b4483df3beebb2c5450e4cf..ba8d8db44d2f554b202ca25558899d6195321dac 100644
(file)
--- 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 || blob
msg_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 = blob
msg_type
(attr);
if (type == BLOBMSG_TYPE_INT32)
{