diff options
author | Michael Adam <obnox@samba.org> | 2008-01-16 23:19:38 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-17 16:25:11 +0100 |
commit | 8c2d440c1ffc8f2b5baf0c2519e7f26e4bfa4aeb (patch) | |
tree | 76e14edbabe790ca2f745a0f6b626950442abcd8 | |
parent | 6e1d36f8c613cc95c37993b10e2a0389a3878d9a (diff) | |
download | samba-8c2d440c1ffc8f2b5baf0c2519e7f26e4bfa4aeb.tar.gz samba-8c2d440c1ffc8f2b5baf0c2519e7f26e4bfa4aeb.tar.bz2 samba-8c2d440c1ffc8f2b5baf0c2519e7f26e4bfa4aeb.zip |
Use the proper boolean constants in reg_frontend_hilvl.c
Michael
(This used to be commit 5c0a1d5d45948fdc483d6f9de31cea39e12722c6)
-rw-r--r-- | source3/registry/reg_frontend_hilvl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/registry/reg_frontend_hilvl.c b/source3/registry/reg_frontend_hilvl.c index 08d094cf83..cd02eeef74 100644 --- a/source3/registry/reg_frontend_hilvl.c +++ b/source3/registry/reg_frontend_hilvl.c @@ -78,7 +78,7 @@ bool store_reg_keys( REGISTRY_KEY *key, REGSUBKEY_CTR *subkeys ) if ( key->hook && key->hook->ops && key->hook->ops->store_subkeys ) return key->hook->ops->store_subkeys( key->name, subkeys ); - return False; + return false; } /*********************************************************************** @@ -88,12 +88,12 @@ bool store_reg_keys( REGISTRY_KEY *key, REGSUBKEY_CTR *subkeys ) bool store_reg_values( REGISTRY_KEY *key, REGVAL_CTR *val ) { if ( check_dynamic_reg_values( key ) ) - return False; + return false; if ( key->hook && key->hook->ops && key->hook->ops->store_values ) return key->hook->ops->store_values( key->name, val ); - return False; + return false; } /*********************************************************************** @@ -159,21 +159,21 @@ bool regkey_access_check( REGISTRY_KEY *key, uint32 requested, uint32 *granted, */ if (!(mem_ctx = talloc_init("regkey_access_check"))) { - return False; + return false; } err = regkey_get_secdesc(mem_ctx, key, &sec_desc); if (!W_ERROR_IS_OK(err)) { TALLOC_FREE(mem_ctx); - return False; + return false; } se_map_generic( &requested, ®_generic_map ); if (!se_access_check(sec_desc, token, requested, granted, &status)) { TALLOC_FREE(mem_ctx); - return False; + return false; } TALLOC_FREE(mem_ctx); |