1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

libcli/security: s/remove/remove_ace/

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2014-02-26 08:12:09 +01:00 committed by Andrew Bartlett
parent f03653e39a
commit d99c0bb1fb

View File

@ -695,7 +695,7 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx,
for (i=1; i < new_ace_list_ndx;) {
struct security_ace *ai = &new_ace_list[i];
unsigned int remaining, j;
bool remove = false;
bool remove_ace = false;
for (j=0; j < i; j++) {
struct security_ace *aj = &new_ace_list[j];
@ -704,11 +704,11 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx,
continue;
}
remove = true;
remove_ace = true;
break;
}
if (!remove) {
if (!remove_ace) {
i++;
continue;
}