summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-27 18:37:00 +0200
committerVolker Lendecke <vl@samba.org>2008-07-27 18:37:00 +0200
commitb117e1039451e10c8c86b867d1a53781957f451e (patch)
treea07b95dad568189304ab0b2ec2eac0fd509ac4ce /source3/smbd
parent2646fce6338216372af6f6b3198995adfbad90dd (diff)
downloadsamba-b117e1039451e10c8c86b867d1a53781957f451e.tar.gz
samba-b117e1039451e10c8c86b867d1a53781957f451e.tar.bz2
samba-b117e1039451e10c8c86b867d1a53781957f451e.zip
Remove a pointless CONST_DISCARD
(This used to be commit c63cb78b4c8a283c0eebe37ff2f60ddbfbfaac4a)
Diffstat (limited to 'source3/smbd')
-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);