summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-29 23:00:49 +0100
committerVolker Lendecke <vl@samba.org>2007-12-29 23:13:26 +0100
commit7cbdb48475b0340154fad60cb4b7cc53dc2bbcfd (patch)
treec46834dc96c1bd189ab4e37d9afe38a309d14abb /source3/modules
parent7be5525792a2f4aa19c308afb516ef1fe02b7be2 (diff)
downloadsamba-7cbdb48475b0340154fad60cb4b7cc53dc2bbcfd.tar.gz
samba-7cbdb48475b0340154fad60cb4b7cc53dc2bbcfd.tar.bz2
samba-7cbdb48475b0340154fad60cb4b7cc53dc2bbcfd.zip
Remove tiny code duplication
ndr_size_security_descriptor does the same as sec_desc_size (This used to be commit bc3bd7a8e7c6e9e27acb195c86abb92c0f53112f)
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/nfs4_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c
index 70bb6a02e8..6d2972d8ed 100644
--- a/source3/modules/nfs4_acls.c
+++ b/source3/modules/nfs4_acls.c
@@ -309,7 +309,7 @@ static NTSTATUS smb_get_nt_acl_nfs4_common(const SMB_STRUCT_STAT *sbuf,
}
DEBUG(10, ("smb_get_nt_acl_nfs4_common successfully exited with sd_size %d\n",
- sec_desc_size(*ppdesc)));
+ ndr_size_security_descriptor(*ppdesc, 0)));
return NT_STATUS_OK;
}