From a84028590f0138bbb4db6ba22450f6d320fde83f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 14 May 2009 16:03:18 -0700 Subject: [PATCH] Remove one use of mangle_is_8_3(), not needed. Jeremy. --- source3/smbd/reply.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 1f73b2f40fc..a81c22b7505 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -6018,8 +6018,6 @@ NTSTATUS rename_internals(TALLOC_CTX *ctx, /* * No wildcards - just process the one file. */ - bool is_short_name = mangle_is_8_3(name, True, conn->params); - /* Add a terminating '/' to the directory name. */ directory = talloc_asprintf_append(directory, "/%s", @@ -6041,10 +6039,10 @@ NTSTATUS rename_internals(TALLOC_CTX *ctx, DEBUG(3, ("rename_internals: case_sensitive = %d, " "case_preserve = %d, short case preserve = %d, " "directory = %s, newname = %s, " - "last_component_dest = %s, is_8_3 = %d\n", + "last_component_dest = %s\n", conn->case_sensitive, conn->case_preserve, conn->short_case_preserve, directory, - newname, last_component_dest, is_short_name)); + newname, last_component_dest)); /* The dest name still may have wildcards. */ if (dest_has_wild) { -- 2.11.4.GIT