Use the appropriate boolean constants.
authorMichael Adam <obnox@samba.org>
Sun, 23 Dec 2007 23:57:04 +0000 (00:57 +0100)
committerMichael Adam <obnox@samba.org>
Sun, 23 Dec 2007 23:57:04 +0000 (00:57 +0100)
Michael

source/libnet/libnet_conf.c

index 35eb740588655be2ef1dd7b6ffa7aadb216c52c0..ebf2d6654ffe2f0310c0346f17475fe6712480a5 100644 (file)
@@ -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);