summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/trans2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 00e182b5b0..3716378b37 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2920,9 +2920,6 @@ size = %.0f, uid = %u, gid = %u, raw perms = 0%o\n",
DEBUG(6,("modtime: %s ", ctime(&tvs.modtime)));
DEBUG(6,("size: %.0f ", (double)size));
- if (dosmode == FILE_ATTRIBUTE_NORMAL)
- dosmode = 0;
-
if (dosmode) {
if (S_ISDIR(sbuf.st_mode))
dosmode |= aDIR;