projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ab1bffd
)
fix a copy & paste bug
author
John Crispin
<blogic@openwrt.org>
Wed, 1 Jul 2015 00:22:36 +0000
(
02:22
+0200)
committer
John Crispin
<blogic@openwrt.org>
Wed, 1 Jul 2015 00:22:36 +0000
(
02:22
+0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
ubusd_acl.c
patch
|
blob
|
history
diff --git
a/ubusd_acl.c
b/ubusd_acl.c
index
3c16114
..
4d047b7
100644
(file)
--- a/
ubusd_acl.c
+++ b/
ubusd_acl.c
@@
-100,7
+100,7
@@
ubusd_acl_check(struct ubus_client *cl, const char *obj,
struct blob_attr *cur;
int rem;
struct blob_attr *cur;
int rem;
- if (!cl->gid && !cl->
g
id)
+ if (!cl->gid && !cl->
u
id)
return 0;
acl = avl_find_ge_element(&ubusd_acls, obj, acl, avl);
return 0;
acl = avl_find_ge_element(&ubusd_acls, obj, acl, avl);