Ignore:
Timestamp:
May 24, 2009, 7:51:24 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 branch to 3.3.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/utils/profiles.c

    r221 r223  
    119119        SEC_DESC *new_sd;
    120120        REGVAL_CTR *values;
    121         REGSUBKEY_CTR *subkeys;
     121        struct regsubkey_ctr *subkeys;
    122122        int i;
    123123        char *path;
     124        WERROR werr;
    124125
    125126        /* swap out the SIDs in the security descriptor */
     
    133134        swap_sid_in_acl( new_sd, &old_sid, &new_sid );
    134135
    135         if ( !(subkeys = TALLOC_ZERO_P( NULL, REGSUBKEY_CTR )) ) {
     136        werr = regsubkey_ctr_init(NULL, &subkeys);
     137        if (!W_ERROR_IS_OK(werr)) {
    136138                DEBUG(0,("copy_registry_tree: talloc() failure!\n"));
    137139                return False;
     
    151153        }
    152154
    153         /* copy subkeys into the REGSUBKEY_CTR */
     155        /* copy subkeys into the struct regsubkey_ctr */
    154156
    155157        while ( (subkey = regfio_fetch_subkey( infile, nk )) ) {
Note: See TracChangeset for help on using the changeset viewer.