1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Some reformatting in netlogon_params_fetch_values().

Michael
(This used to be commit 24f13fb72e)
This commit is contained in:
Michael Adam 2008-01-20 01:30:38 +01:00
parent 2e47997e6e
commit d48c5f1599

View File

@ -35,13 +35,14 @@ static int netlogon_params_fetch_values(const char *key, REGVAL_CTR *regvals)
{
uint32 dwValue;
if ( !pdb_get_account_policy(AP_REFUSE_MACHINE_PW_CHANGE, &dwValue) )
if (!pdb_get_account_policy(AP_REFUSE_MACHINE_PW_CHANGE, &dwValue)) {
dwValue = 0;
}
regval_ctr_addvalue( regvals, "RefusePasswordChange", REG_DWORD,
(char*)&dwValue, sizeof(dwValue) );
regval_ctr_addvalue(regvals, "RefusePasswordChange", REG_DWORD,
(char*)&dwValue, sizeof(dwValue));
return regval_ctr_numvals( regvals );
return regval_ctr_numvals(regvals);
}
static int netlogon_params_fetch_subkeys(const char *key,