summaryrefslogtreecommitdiffstats
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-11-19 14:06:49 +0000
committerJeremy Allison <jra@samba.org>2014-12-07 00:12:07 +0100
commita8491cb95a2c181d40b0b94cceff8d69d137935c (patch)
tree6bdf806d414b886bc8a4480c508000b16c27cb6a /source3/smbd/reply.c
parent97b2570a5e526273476d3990bcef0ac074b34d67 (diff)
downloadsamba-a8491cb95a2c181d40b0b94cceff8d69d137935c.tar.gz
samba-a8491cb95a2c181d40b0b94cceff8d69d137935c.tar.xz
samba-a8491cb95a2c181d40b0b94cceff8d69d137935c.zip
lib: read_data->read_data_ntstatus
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index fd4ec53aed..cd13d68092 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -4366,7 +4366,8 @@ void reply_writebraw(struct smb_request *req)
(int)tcount,(int)nwritten,(int)numtowrite));
}
- status = read_data(xconn->transport.sock, buf+4, numtowrite);
+ status = read_data_ntstatus(xconn->transport.sock, buf+4,
+ numtowrite);
if (!NT_STATUS_IS_OK(status)) {
/* Try and give an error message