Changeset 223 for branches/samba-3.3.x/source/utils/profiles.c
- Timestamp:
- May 24, 2009, 7:51:24 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/utils/profiles.c
r221 r223 119 119 SEC_DESC *new_sd; 120 120 REGVAL_CTR *values; 121 REGSUBKEY_CTR*subkeys;121 struct regsubkey_ctr *subkeys; 122 122 int i; 123 123 char *path; 124 WERROR werr; 124 125 125 126 /* swap out the SIDs in the security descriptor */ … … 133 134 swap_sid_in_acl( new_sd, &old_sid, &new_sid ); 134 135 135 if ( !(subkeys = TALLOC_ZERO_P( NULL, REGSUBKEY_CTR )) ) { 136 werr = regsubkey_ctr_init(NULL, &subkeys); 137 if (!W_ERROR_IS_OK(werr)) { 136 138 DEBUG(0,("copy_registry_tree: talloc() failure!\n")); 137 139 return False; … … 151 153 } 152 154 153 /* copy subkeys into the REGSUBKEY_CTR*/155 /* copy subkeys into the struct regsubkey_ctr */ 154 156 155 157 while ( (subkey = regfio_fetch_subkey( infile, nk )) ) {
Note:
See TracChangeset
for help on using the changeset viewer.