summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-15 14:56:00 +0100
committerMichael Adam <obnox@samba.org>2008-01-15 14:56:00 +0100
commit982c71fcd284664b474f3ab8d77bc3c28c572f34 (patch)
tree7750332b4c4471f586c5450d30f62635b0ac52cf /source3/registry
parent8a010763347d8f9833fe1eb2ae11e85b71f8d499 (diff)
downloadsamba-982c71fcd284664b474f3ab8d77bc3c28c572f34.tar.gz
samba-982c71fcd284664b474f3ab8d77bc3c28c572f34.tar.bz2
samba-982c71fcd284664b474f3ab8d77bc3c28c572f34.zip
Use the proper boolean functions.
Michael (This used to be commit beaa83f32bd367f1b6ec72ef80a8a258d662f523)
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c
index 1479e7ad0a..d1657c8cf6 100644
--- a/source3/registry/reg_api.c
+++ b/source3/registry/reg_api.c
@@ -742,7 +742,7 @@ WERROR reg_deletekey_recursive_internal(TALLOC_CTX *ctx,
{
werr = reg_deletekey_recursive_internal(mem_ctx, key,
subkey_name,
- True);
+ true);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}
@@ -770,12 +770,12 @@ WERROR reg_deletekey_recursive(TALLOC_CTX *ctx,
struct registry_key *parent,
const char *path)
{
- return reg_deletekey_recursive_internal(ctx, parent, path, True);
+ return reg_deletekey_recursive_internal(ctx, parent, path, true);
}
WERROR reg_deletesubkeys_recursive(TALLOC_CTX *ctx,
struct registry_key *parent,
const char *path)
{
- return reg_deletekey_recursive_internal(ctx, parent, path, False);
+ return reg_deletekey_recursive_internal(ctx, parent, path, false);
}