Changeset 221 for branches/samba-3.3.x/source/librpc/ndr
- Timestamp:
- May 24, 2009, 7:17:10 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/librpc/ndr/ndr_sec_helper.c
r206 r221 96 96 return the wire size of a security_acl 97 97 */ 98 size_t ndr_size_security_acl(const struct security_acl * acl, int flags)98 size_t ndr_size_security_acl(const struct security_acl *theacl, int flags) 99 99 { 100 100 size_t ret; 101 101 int i; 102 if (! acl) return 0;102 if (!theacl) return 0; 103 103 ret = 8; 104 for (i=0;i< acl->num_aces;i++) {105 ret += ndr_size_security_ace(& acl->aces[i], flags);104 for (i=0;i<theacl->num_aces;i++) { 105 ret += ndr_size_security_ace(&theacl->aces[i], flags); 106 106 } 107 107 return ret;
Note:
See TracChangeset
for help on using the changeset viewer.