1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r19840: Fix an uninitialized variable

(This used to be commit c4b5e8c7a0)
This commit is contained in:
Volker Lendecke 2006-11-22 16:39:07 +00:00 committed by Gerald (Jerry) Carter
parent 9e29e5d2b8
commit ca70f53930

View File

@ -378,6 +378,13 @@ static int net_sam_policy_set(int argc, const char **argv)
printf("Account policy \"%s\" description: %s\n", account_policy,
account_policy_get_desc(field));
if (!pdb_get_account_policy(field, &old_value)) {
fprintf(stderr, "Valid account policy, but unable to "
"fetch value!\n");
return -1;
}
printf("Account policy \"%s\" value was: %d\n", account_policy,
old_value);