summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-05 11:13:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:22 -0500
commit1424dccb92f2ed4002ed703e4e8c9aa453d04e01 (patch)
tree2cc44509fa5943f84a3bf65058ad7aedf6612d59
parentb821dedf9daed00c5ae544a3691ca5d4b857754e (diff)
downloadsamba-1424dccb92f2ed4002ed703e4e8c9aa453d04e01.tar.gz
samba-1424dccb92f2ed4002ed703e4e8c9aa453d04e01.tar.bz2
samba-1424dccb92f2ed4002ed703e4e8c9aa453d04e01.zip
r4069: better error code for SMBwriteBMPX
(This used to be commit eef066175f98f38eff465f941a7bd747173e8db9)
-rw-r--r--source4/smb_server/reply.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/smb_server/reply.c b/source4/smb_server/reply.c
index 3f1ddd26c7..d81b2bfeef 100644
--- a/source4/smb_server/reply.c
+++ b/source4/smb_server/reply.c
@@ -1883,8 +1883,7 @@ void reply_setattrE(struct smbsrv_request *req)
****************************************************************************/
void reply_writebmpx(struct smbsrv_request *req)
{
- /* we will need to implement this one for OS/2, but right now I can't be bothered */
- req_reply_error(req, NT_STATUS_FOOBAR);
+ req_reply_dos_error(req, ERRSRV, ERRuseSTD);
}
@@ -1893,8 +1892,7 @@ void reply_writebmpx(struct smbsrv_request *req)
****************************************************************************/
void reply_writebs(struct smbsrv_request *req)
{
- /* see reply_writebmpx */
- req_reply_error(req, NT_STATUS_FOOBAR);
+ req_reply_dos_error(req, ERRSRV, ERRuseSTD);
}