summaryrefslogtreecommitdiff
path: root/source4/lib/registry/util.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-27 18:10:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:54 -0500
commit61ffa08f4c95e29d301de9fbabd6e71c2dbc1056 (patch)
tree5639bb3b7628532080737e4e1b1ff0b835ee4977 /source4/lib/registry/util.c
parent4fb038b0b8e7a4bb69ac0d9022684eeaca8a491a (diff)
downloadsamba-61ffa08f4c95e29d301de9fbabd6e71c2dbc1056.tar.gz
samba-61ffa08f4c95e29d301de9fbabd6e71c2dbc1056.tar.bz2
samba-61ffa08f4c95e29d301de9fbabd6e71c2dbc1056.zip
r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
Diffstat (limited to 'source4/lib/registry/util.c')
-rw-r--r--source4/lib/registry/util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/registry/util.c b/source4/lib/registry/util.c
index 47716f89cf..6afd1bc44c 100644
--- a/source4/lib/registry/util.c
+++ b/source4/lib/registry/util.c
@@ -96,7 +96,7 @@ _PUBLIC_ char *reg_val_description(TALLOC_CTX *mem_ctx, const char *name,
reg_val_data_string(mem_ctx, data_type, data));
}
-_PUBLIC_ BOOL reg_string_to_val(TALLOC_CTX *mem_ctx, const char *type_str, const char *data_str, uint32_t *type, DATA_BLOB *data)
+_PUBLIC_ bool reg_string_to_val(TALLOC_CTX *mem_ctx, const char *type_str, const char *data_str, uint32_t *type, DATA_BLOB *data)
{
int i;
*type = -1;
@@ -110,7 +110,7 @@ _PUBLIC_ BOOL reg_string_to_val(TALLOC_CTX *mem_ctx, const char *type_str, const
}
if (*type == -1)
- return False;
+ return false;
/* Convert data appropriately */
@@ -138,9 +138,9 @@ _PUBLIC_ BOOL reg_string_to_val(TALLOC_CTX *mem_ctx, const char *type_str, const
default:
/* FIXME */
- return False;
+ return false;
}
- return True;
+ return true;
}
/** Open a key by name (including the predefined key name!) */