1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-27 08:23:49 +03:00

Remove tiny code duplication

ndr_size_security_descriptor does the same as sec_desc_size
This commit is contained in:
Volker Lendecke
2007-12-29 23:00:49 +01:00
parent 387936ec39
commit bc3bd7a8e7
13 changed files with 22 additions and 47 deletions

View File

@@ -426,7 +426,7 @@ bool sec_io_desc_buf(const char *desc, SEC_DESC_BUF **ppsdb, prs_struct *ps, int
if(!prs_uint32 ("ptr ", ps, depth, &ptr))
return False;
len = sec_desc_size(psdb->sd);
len = ndr_size_security_descriptor(psdb->sd, 0);
if(!prs_uint32_pre("len ", ps, depth, &len, &off_len))
return False;