summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ddc5dd06a5..897024c4d8 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2131,7 +2131,7 @@ void reply_ctemp(struct smb_request *req)
return;
}
- status = check_name(conn, CONST_DISCARD(char *,fname));
+ status = check_name(conn, fname);
if (!NT_STATUS_IS_OK(status)) {
reply_nterror(req, status);
END_PROFILE(SMBctemp);