summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-14 12:34:28 -0700
committerKarolin Seeger <kseeger@samba.org>2009-05-26 09:39:24 +0200
commit5166e27cc944369d2d772a700e6525d1e03989b6 (patch)
tree5c0c80930fbb0ece936dfb19c67b09efc19495b6 /source3/smbd
parent3d51790a9db2a0c09095f0bc5ac55a905dac90c7 (diff)
downloadsamba-5166e27cc944369d2d772a700e6525d1e03989b6.tar.gz
Remove one use of mangle_is_8_3(), not needed.
Jeremy. (cherry picked from commit 0e7f37336ec2d7e1158342fb855af3dff84a7d1e)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 9cf5280876a..66caa8670a0 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -5919,8 +5919,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",
@@ -5942,10 +5940,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) {