summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-05-27 06:54:35 +0000
committerTim Potter <tpot@samba.org>2003-05-27 06:54:35 +0000
commit7345bca285a4fed294a6120a399fa2fa3d88a440 (patch)
treeb4334f71db9e92a7bfbb838c3ab3f87f4df72765
parentaaf06908b290af8184731833a3c9b0837b4fc499 (diff)
downloadsamba-7345bca285a4fed294a6120a399fa2fa3d88a440.tar.gz
Fix shadow parameter warning in free_empty_sys_acl()
-rw-r--r--source/smbd/posix_acls.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/smbd/posix_acls.c b/source/smbd/posix_acls.c
index 86efd8fb96c..e2cc3af2815 100644
--- a/source/smbd/posix_acls.c
+++ b/source/smbd/posix_acls.c
@@ -2097,17 +2097,17 @@ static struct canon_ace *canon_ace_entry_for(struct canon_ace *list, SMB_ACL_TAG
****************************************************************************/
-SMB_ACL_T free_empty_sys_acl(connection_struct *conn, SMB_ACL_T acl)
+SMB_ACL_T free_empty_sys_acl(connection_struct *conn, SMB_ACL_T the_acl)
{
SMB_ACL_ENTRY_T entry;
- if (!acl)
+ if (!the_acl)
return NULL;
- if (conn->vfs_ops.sys_acl_get_entry(conn, acl, SMB_ACL_FIRST_ENTRY, &entry) != 1) {
- conn->vfs_ops.sys_acl_free_acl(conn, acl);
+ if (conn->vfs_ops.sys_acl_get_entry(conn, the_acl, SMB_ACL_FIRST_ENTRY, &entry) != 1) {
+ conn->vfs_ops.sys_acl_free_acl(conn, the_acl);
return NULL;
}
- return acl;
+ return the_acl;
}
/****************************************************************************