From: Michael Adam Date: Tue, 15 Jan 2008 13:56:00 +0000 (+0100) Subject: Use the proper boolean functions. X-Git-Tag: samba-3.2.0pre2~40^2~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=beaa83f32bd367f1b6ec72ef80a8a258d662f523;p=thirdparty%2Fsamba.git Use the proper boolean functions. Michael --- diff --git a/source/registry/reg_api.c b/source/registry/reg_api.c index 1479e7ad0ad..d1657c8cf60 100644 --- a/source/registry/reg_api.c +++ b/source/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); }