forked from github/server
fix backwards compatible code for at_permission.
This commit is contained in:
parent
cf110d7788
commit
838155179f
|
@ -45,9 +45,9 @@
|
|||
|
||||
static int read_permissions(attrib * a, void *owner, struct storage *store)
|
||||
{
|
||||
attrib *attr = NULL;
|
||||
a_read(store, &attr, owner);
|
||||
a_remove(&attr, a);
|
||||
assert(!a);
|
||||
a_read(store, &a, owner);
|
||||
a_remove(&a, a);
|
||||
return AT_READ_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue