projects
/
oweals
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f361bfa
)
remove obseleted validation of key
author
John Crispin
<blogic@openwrt.org>
Tue, 14 Apr 2015 03:12:34 +0000
(
05:12
+0200)
committer
John Crispin
<blogic@openwrt.org>
Thu, 18 Jun 2015 17:01:17 +0000
(19:01 +0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
ubusd_proto.c
patch
|
blob
|
history
diff --git
a/ubusd_proto.c
b/ubusd_proto.c
index 991a70a8cb21d14ed89439664810e911629d117d..895468295bbde52e2a7a4094ff5dea033983aa42 100644
(file)
--- a/
ubusd_proto.c
+++ b/
ubusd_proto.c
@@
-158,8
+158,7
@@
static void ubusd_send_obj(struct ubus_client *cl, struct ubus_msg_buf *ub, stru
blob_buf_init(&b, 0);
- if (obj->path.key)
- blob_put_string(&b, UBUS_ATTR_OBJPATH, obj->path.key);
+ blob_put_string(&b, UBUS_ATTR_OBJPATH, obj->path.key);
blob_put_int32(&b, UBUS_ATTR_OBJID, obj->id.id);
blob_put_int32(&b, UBUS_ATTR_OBJTYPE, obj->type->id.id);