projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
follow blob_get_int* -> blob_get_u* rename
[project/ubus.git]
/
ubusd_obj.c
diff --git
a/ubusd_obj.c
b/ubusd_obj.c
index
ffd5330
..
d1e53f8
100644
(file)
--- a/
ubusd_obj.c
+++ b/
ubusd_obj.c
@@
-115,7
+115,7
@@
struct ubus_object *ubusd_create_object(struct ubus_client *cl, struct blob_attr
struct ubus_object_type *type = NULL;
if (attr[UBUS_ATTR_OBJTYPE])
struct ubus_object_type *type = NULL;
if (attr[UBUS_ATTR_OBJTYPE])
- type = ubus_get_obj_type(blob_get_
int
32(attr[UBUS_ATTR_OBJTYPE]));
+ type = ubus_get_obj_type(blob_get_
u
32(attr[UBUS_ATTR_OBJTYPE]));
else if (attr[UBUS_ATTR_SIGNATURE])
type = ubus_create_obj_type(attr[UBUS_ATTR_SIGNATURE]);
else if (attr[UBUS_ATTR_SIGNATURE])
type = ubus_create_obj_type(attr[UBUS_ATTR_SIGNATURE]);