From: John Crispin Date: Wed, 1 Jul 2015 00:22:36 +0000 (+0200) Subject: fix a copy & paste bug X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7ec9b8dec77b969bfc860995f96fe91fd40ba5e4;p=oweals%2Fubus.git fix a copy & paste bug Signed-off-by: John Crispin --- diff --git a/ubusd_acl.c b/ubusd_acl.c index 3c16114..4d047b7 100644 --- 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; - if (!cl->gid && !cl->gid) + if (!cl->gid && !cl->uid) return 0; acl = avl_find_ge_element(&ubusd_acls, obj, acl, avl);