summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-24 00:57:04 +0100
committerMichael Adam <obnox@samba.org>2007-12-24 00:57:04 +0100
commit92b1ef15df560c9cc0429bc5ecb4084efe05610f (patch)
tree68790f1215e71da37addfe74029570a3dffffb5f /source3/libnet
parent434f0bcb02fe9df247527e1fa0372c94359f2f07 (diff)
downloadsamba-92b1ef15df560c9cc0429bc5ecb4084efe05610f.tar.gz
samba-92b1ef15df560c9cc0429bc5ecb4084efe05610f.tar.bz2
samba-92b1ef15df560c9cc0429bc5ecb4084efe05610f.zip
Use the appropriate boolean constants.
Michael (This used to be commit 45e3e2451adc1490b62d39d486c169ad53e1d3f3)
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_conf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 35eb740588..ebf2d6654f 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -64,14 +64,14 @@ done:
*/
bool libnet_smbconf_key_exists(const char *subkeyname)
{
- bool ret = False;
+ bool ret = false;
WERROR werr = WERR_OK;
TALLOC_CTX *mem_ctx = talloc_stackframe();
struct registry_key *key = NULL;
werr = libnet_smbconf_open_path_q(mem_ctx, subkeyname, REG_KEY_READ, &key);
if (W_ERROR_IS_OK(werr)) {
- ret = True;
+ ret = true;
}
TALLOC_FREE(mem_ctx);
@@ -81,14 +81,14 @@ bool libnet_smbconf_key_exists(const char *subkeyname)
static bool libnet_smbconf_value_exists(struct registry_key *key,
const char *param)
{
- bool ret = False;
+ bool ret = false;
WERROR werr = WERR_OK;
TALLOC_CTX *ctx = talloc_stackframe();
struct registry_value *value = NULL;
werr = reg_queryvalue(ctx, key, param, &value);
if (W_ERROR_IS_OK(werr)) {
- ret = True;
+ ret = true;
}
TALLOC_FREE(ctx);