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:
7ec9b8d
)
unbreak acl allocation
author
John Crispin
<blogic@openwrt.org>
Tue, 22 Sep 2015 04:12:08 +0000
(06:12 +0200)
committer
John Crispin
<blogic@openwrt.org>
Tue, 22 Sep 2015 04:12:08 +0000
(06:12 +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 4d047b7a240e9fb3454a12a6b931a60a39bd06ee..1d965c0e57d195f4251755072b3d8e250b2762a6 100644
(file)
--- a/
ubusd_acl.c
+++ b/
ubusd_acl.c
@@
-206,7
+206,7
@@
ubusd_acl_alloc_obj(struct ubusd_acl_file *file, const char *obj)
struct ubusd_acl_obj *o;
char *k;
- o = calloc_a(
1,
sizeof(*o), &k, strlen(obj) + 1);
+ o = calloc_a(sizeof(*o), &k, strlen(obj) + 1);
o->user = file->user;
o->group = file->group;
o->avl.key = k;