diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/account_pol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/account_pol.c b/source3/lib/account_pol.c index 2e619c0c6b..e8b382c7ab 100644 --- a/source3/lib/account_pol.c +++ b/source3/lib/account_pol.c @@ -118,7 +118,7 @@ BOOL account_policy_get(int field, uint32 *value) { fstring name; - init_account_policy(); + if(!init_account_policy())return False; *value = 0; @@ -142,7 +142,7 @@ BOOL account_policy_set(int field, uint32 value) { fstring name; - init_account_policy(); + if(!init_account_policy())return False; fstrcpy(name, decode_account_policy_name(field)); if (!*name) { |