summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/filename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 1b4f7f8c77..83e6fe092e 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -411,7 +411,7 @@ BOOL unix_convert(char *name,connection_struct *conn,char *saved_last_component,
for (s=name2 ; *s ; s++)
if (!issafe(*s)) *s = '_';
- pstrcpy(name,(char *)mktemp(name2));
+ pstrcpy(name,(char *)mktemp(name2));
}
return(True);
}