r4159: fixed error return for writebraw
authorAndrew Tridgell <tridge@samba.org>
Sun, 12 Dec 2004 07:22:59 +0000 (07:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:07:20 +0000 (13:07 -0500)
source/smb_server/reply.c

index c283ad014597c25194d43ba84df3bf0a5843a204..9fba5063b89355c539f773ca62b3b743957daa08 100644 (file)
@@ -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);
 }