diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-07 12:54:40 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-07 12:54:40 +0100 |
commit | b9004630f8c731d9b215a683d389a194d999ea20 (patch) | |
tree | 30529027debc1673bb49b46a49279e01e0e0f3b5 /ubus.c | |
parent | e17abb3c0ae9411d9cce85f8c5eac0115f16f772 (diff) |
fix typo
Diffstat (limited to 'ubus.c')
-rw-r--r-- | ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |