From 13c7794e02b0d5c83baa5efbe93e46defd38c8e1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 12 Dec 2004 07:22:59 +0000 Subject: [PATCH] r4159: fixed error return for writebraw --- source/smb_server/reply.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/smb_server/reply.c b/source/smb_server/reply.c index c283ad01459..9fba5063b89 100644 --- a/source/smb_server/reply.c +++ b/source/smb_server/reply.c @@ -938,8 +938,7 @@ void reply_read_and_X(struct smbsrv_request *req) ****************************************************************************/ void reply_writebraw(struct smbsrv_request *req) { - /* this one is damn complex - put it off for now */ - req_reply_error(req, NT_STATUS_FOOBAR); + req_reply_dos_error(req, ERRSRV, ERRuseSTD); }