projects
/
project
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e17abb3
)
fix typo
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Jan 2013 11:54:40 +0000
(12:54 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Jan 2013 11:54:40 +0000
(12:54 +0100)
ubus.c
patch
|
blob
|
history
diff --git
a/ubus.c
b/ubus.c
index 86b0d44828798f3a0b3ec0275a15df287c8a8565..bf9b6feba8e666d7bda2a73d485b108517328e36 100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-90,7
+90,7
@@
static const struct blobmsg_policy acl_policy[__UH_UBUS_SA_MAX] = {
#define uh_foreach_matching_acl(_acl, _ses, _obj, _func) \
uh_foreach_matching_acl_prefix(_acl, _ses, _obj, _func) \
- if (!strncmp((_acl)->object, _obj, (_acl)->sort_len
&&)
\
+ if (!strncmp((_acl)->object, _obj, (_acl)->sort_len
) &&
\
!fnmatch((_acl)->object, (_obj), FNM_NOESCAPE) && \
!fnmatch((_acl)->function, (_func), FNM_NOESCAPE))