smbd: modernize unix_convert() replacing False with false
authorRalph Boehme <slow@samba.org>
Wed, 25 Mar 2020 06:47:22 +0000 (07:47 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 27 Mar 2020 01:06:30 +0000 (01:06 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/filename.c

index b0ae6f64e8e54a464ad540aa5f1af01393445c79..04febba464d9075a07765df0f1e1afb2fd84066d 100644 (file)
@@ -441,8 +441,8 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
        char *end = NULL;
        char *dirpath = NULL;
        char *stream = NULL;
-       bool component_was_mangled = False;
-       bool name_has_wildcard = False;
+       bool component_was_mangled = false;
+       bool name_has_wildcard = false;
        bool posix_pathnames = (ucf_flags & UCF_POSIX_PATHNAMES);
        bool allow_wcard_last_component =
            (ucf_flags & UCF_ALWAYS_ALLOW_WCARD_LCOMP);
@@ -1066,7 +1066,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
                                 * Thomas Neumann <t.neumann@iku-ag.de>.
                                 */
                                if (!conn->case_preserve ||
-                                   (mangle_is_8_3(start, False,
+                                   (mangle_is_8_3(start, false,
                                                   conn->params) &&
                                                 !conn->short_case_preserve)) {
                                        if (!strnorm(start,