From b117e1039451e10c8c86b867d1a53781957f451e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 27 Jul 2008 18:37:00 +0200 Subject: Remove a pointless CONST_DISCARD (This used to be commit c63cb78b4c8a283c0eebe37ff2f60ddbfbfaac4a) --- source3/smbd/reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit