summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 051aaafb45..c0d5234f47 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -1544,8 +1544,8 @@ NTSTATUS unlink_internals(connection_struct *conn, int dirtype, char *name)
while ((dname = ReadDirName(dirptr))) {
pstring fname;
- pstrcpy(fname,dname);
BOOL sys_direntry = False;
+ pstrcpy(fname,dname);
/* Quick check for "." and ".." */
if (fname[0] == '.') {