From a8491cb95a2c181d40b0b94cceff8d69d137935c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 19 Nov 2014 14:06:49 +0000 Subject: lib: read_data->read_data_ntstatus Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/smbd/reply.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/smbd/reply.c') 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 -- cgit