mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libcli: Align integer types
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
ad7e2cf626
commit
2ae42bebe3
@ -59,7 +59,6 @@ static NTSTATUS appendacl_get(struct composite_context *c,
|
|||||||
{
|
{
|
||||||
struct appendacl_state *state = talloc_get_type(c->private_data, struct appendacl_state);
|
struct appendacl_state *state = talloc_get_type(c->private_data, struct appendacl_state);
|
||||||
struct smbcli_tree *tree = state->req->tree;
|
struct smbcli_tree *tree = state->req->tree;
|
||||||
int i;
|
|
||||||
NTSTATUS status;
|
NTSTATUS status;
|
||||||
|
|
||||||
status = smb_raw_fileinfo_recv(state->req, state->io_fileinfo, state->io_fileinfo);
|
status = smb_raw_fileinfo_recv(state->req, state->io_fileinfo, state->io_fileinfo);
|
||||||
@ -78,6 +77,7 @@ static NTSTATUS appendacl_get(struct composite_context *c,
|
|||||||
|
|
||||||
/* append all aces from io->in.sd->dacl to new security descriptor */
|
/* append all aces from io->in.sd->dacl to new security descriptor */
|
||||||
if (io->in.sd->dacl != NULL) {
|
if (io->in.sd->dacl != NULL) {
|
||||||
|
uint32_t i;
|
||||||
for (i = 0; i < io->in.sd->dacl->num_aces; i++) {
|
for (i = 0; i < io->in.sd->dacl->num_aces; i++) {
|
||||||
security_descriptor_dacl_add(state->io_setfileinfo->set_secdesc.in.sd,
|
security_descriptor_dacl_add(state->io_setfileinfo->set_secdesc.in.sd,
|
||||||
&(io->in.sd->dacl->aces[i]));
|
&(io->in.sd->dacl->aces[i]));
|
||||||
|
Loading…
Reference in New Issue
Block a user