]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Use the proper boolean constants.
authorMichael Adam <obnox@samba.org>
Thu, 14 Feb 2008 14:35:07 +0000 (15:35 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 14 Feb 2008 15:32:29 +0000 (16:32 +0100)
Michael

source/lib/util_reg.c

index 2d7d70c63f30e2b3747267aa770bf1563acfbb24..2475dca04022cfaf99ef9425f24371b5f1dd9e98 100644 (file)
@@ -95,7 +95,7 @@ WERROR reg_pull_multi_sz(TALLOC_CTX *mem_ctx, const void *buf, size_t len,
                thislen = strnlen_w(p, len) + 1;
                dstlen = convert_string_allocate(*values, CH_UTF16LE, CH_UNIX,
                                                 p, thislen*2, (void *)&val,
-                                                True);
+                                                true);
                if (dstlen == (size_t)-1) {
                        TALLOC_FREE(*values);
                        return WERR_NOMEM;
@@ -137,8 +137,8 @@ bool registry_smbconf_valname_forbidden(const char *valname)
 
        for (forbidden = forbidden_valnames; *forbidden != NULL; forbidden++) {
                if (strwicmp(valname, *forbidden) == 0) {
-                       return True;
+                       return true;
                }
        }
-       return False;
+       return false;
 }