summaryrefslogtreecommitdiff
path: root/librpc/ndr/ndr_sec_helper.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-02-23 15:03:29 -0800
committerJeremy Allison <jra@samba.org>2009-02-23 15:03:29 -0800
commit0b62cdbed0867d0712821953700062727f668c65 (patch)
tree4eb21582c3cf112c285ef9a5b4c7c3de2dcc4504 /librpc/ndr/ndr_sec_helper.c
parent1cd7fe71940b7420dd478321b8368a31ae713917 (diff)
downloadsamba-0b62cdbed0867d0712821953700062727f668c65.tar.gz
samba-0b62cdbed0867d0712821953700062727f668c65.tar.bz2
samba-0b62cdbed0867d0712821953700062727f668c65.zip
Quieten down a boatload of shadowed variable warnings on Solaris.
Makes real problems easier to spot. Jeremy.
Diffstat (limited to 'librpc/ndr/ndr_sec_helper.c')
-rw-r--r--librpc/ndr/ndr_sec_helper.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/librpc/ndr/ndr_sec_helper.c b/librpc/ndr/ndr_sec_helper.c
index 8f84c02f91..62194707c2 100644
--- a/librpc/ndr/ndr_sec_helper.c
+++ b/librpc/ndr/ndr_sec_helper.c
@@ -91,14 +91,14 @@ enum ndr_err_code ndr_pull_security_ace(struct ndr_pull *ndr, int ndr_flags, str
/*
return the wire size of a security_acl
*/
-size_t ndr_size_security_acl(const struct security_acl *acl, struct smb_iconv_convenience *ic, int flags)
+size_t ndr_size_security_acl(const struct security_acl *theacl, struct smb_iconv_convenience *ic, int flags)
{
size_t ret;
int i;
- if (!acl) return 0;
+ if (!theacl) return 0;
ret = 8;
- for (i=0;i<acl->num_aces;i++) {
- ret += ndr_size_security_ace(&acl->aces[i], ic, flags);
+ for (i=0;i<theacl->num_aces;i++) {
+ ret += ndr_size_security_ace(&theacl->aces[i], ic, flags);
}
return ret;
}