projects
/
pylibacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ae494b
)
Fix typo: HAVEL_LEVEL2
author
Enji Cooper
<yaneurabeya@gmail.com>
Thu, 9 Apr 2020 04:21:19 +0000
(21:21 -0700)
committer
Iustin Pop
<iustin@k1024.org>
Mon, 20 Apr 2020 18:45:37 +0000
(20:45 +0200)
This change initializes the `entry_id` to `ACL_FIRST_ENTRY` when `ACL`
objects are created.
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
acl.c
patch
|
blob
|
history
diff --git
a/acl.c
b/acl.c
index a774627bca410c9072ddb521d175588e6759c2aa..986978d87a55705d9110bfff5cb6fcbd9f6ed479 100644
(file)
--- a/
acl.c
+++ b/
acl.c
@@
-120,7
+120,7
@@
static PyObject* ACL_new(PyTypeObject* type, PyObject* args,
Py_DECREF(newacl);
return NULL;
}
-#ifdef HAVE
L
_LEVEL2
+#ifdef HAVE_LEVEL2
acl->entry_id = ACL_FIRST_ENTRY;
#endif