diff options
author | Jeremy Allison <jra@samba.org> | 2009-02-23 15:44:34 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-02-23 15:44:34 -0800 |
commit | 2033b44c3f0872d98d8144a9fbf6d09fbde196e5 (patch) | |
tree | 0d39ec2fce365780c207175801002edbb4f3f8ba /source3/services | |
parent | 0b62cdbed0867d0712821953700062727f668c65 (diff) | |
download | samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.tar.gz samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.tar.bz2 samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.zip |
More warning fixes for Solaris.
Jeremy.
Diffstat (limited to 'source3/services')
-rw-r--r-- | source3/services/services_db.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/services/services_db.c b/source3/services/services_db.c index 6d1b5d5b95..ef975cfbc4 100644 --- a/source3/services/services_db.c +++ b/source3/services/services_db.c @@ -91,7 +91,7 @@ static SEC_DESC* construct_service_sd( TALLOC_CTX *ctx ) SEC_ACE ace[4]; size_t i = 0; SEC_DESC *sd = NULL; - SEC_ACL *acl = NULL; + SEC_ACL *theacl = NULL; size_t sd_size; /* basic access for Everyone */ @@ -109,12 +109,12 @@ static SEC_DESC* construct_service_sd( TALLOC_CTX *ctx ) /* create the security descriptor */ - if ( !(acl = make_sec_acl(ctx, NT4_ACL_REVISION, i, ace)) ) + if ( !(theacl = make_sec_acl(ctx, NT4_ACL_REVISION, i, ace)) ) return NULL; if ( !(sd = make_sec_desc(ctx, SECURITY_DESCRIPTOR_REVISION_1, SEC_DESC_SELF_RELATIVE, NULL, NULL, NULL, - acl, &sd_size)) ) + theacl, &sd_size)) ) return NULL; return sd; |