diff options
Diffstat (limited to 'source4/lib/registry/util.c')
-rw-r--r-- | source4/lib/registry/util.c | 8 |
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!) */ |