1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-23 20:59:10 +03:00

More warning fixes for Solaris.

Jeremy.
This commit is contained in:
Jeremy Allison
2009-02-23 15:44:34 -08:00
parent 0b62cdbed0
commit 2033b44c3f
6 changed files with 33 additions and 32 deletions

View File

@ -298,7 +298,7 @@ static SEC_DESC* parse_acl_string(TALLOC_CTX *mem_ctx, const char *szACL, size_t
{
SEC_DESC *sd = NULL;
SEC_ACE *ace;
SEC_ACL *acl;
SEC_ACL *theacl;
int num_ace;
const char *pacl;
int i;
@ -326,11 +326,11 @@ static SEC_DESC* parse_acl_string(TALLOC_CTX *mem_ctx, const char *szACL, size_t
pacl++;
}
if ( !(acl = make_sec_acl( mem_ctx, NT4_ACL_REVISION, num_ace, ace )) )
if ( !(theacl = make_sec_acl( mem_ctx, NT4_ACL_REVISION, num_ace, ace )) )
return NULL;
sd = make_sec_desc( mem_ctx, SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE,
NULL, NULL, NULL, acl, sd_size);
NULL, NULL, NULL, theacl, sd_size);
return sd;
}