diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-05-23 15:23:23 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-23 20:03:08 +0200 |
commit | d595d2e5af1a6b85d069ce621a85648d1213c360 (patch) | |
tree | a449d8038f918458739542ed3c7f7c9f7a2ba2ac /source3/smbd/pipes.c | |
parent | d869f0260c7f9c30712b7a4d8fb13de4124868c5 (diff) | |
download | samba-d595d2e5af1a6b85d069ce621a85648d1213c360.tar.gz samba-d595d2e5af1a6b85d069ce621a85648d1213c360.tar.bz2 samba-d595d2e5af1a6b85d069ce621a85648d1213c360.zip |
s3:smbd: use nt_status_np_pipe for smb1
metze
Diffstat (limited to 'source3/smbd/pipes.c')
-rw-r--r-- | source3/smbd/pipes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c index c3a5cb3c03..f9e3618cb4 100644 --- a/source3/smbd/pipes.c +++ b/source3/smbd/pipes.c @@ -454,6 +454,8 @@ static void pipe_read_andx_done(struct tevent_req *subreq) status = np_read_recv(subreq, &nread, &is_data_outstanding); TALLOC_FREE(subreq); if (!NT_STATUS_IS_OK(status)) { + NTSTATUS old = status; + status = nt_status_np_pipe(old); reply_nterror(req, status); goto done; } |