From 230cd1e276f9661f290b3eaeecca005303a68efb Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 7 Nov 2011 08:55:20 +0100 Subject: s3:libsmb: return NT_STATUS_OK for if a request is not the last one in the chain metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Mon Nov 7 11:38:05 CET 2011 on sn-devel-104 --- source3/libsmb/async_smb.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c index 26f4b30ce1..08b6c3561e 100644 --- a/source3/libsmb/async_smb.c +++ b/source3/libsmb/async_smb.c @@ -931,6 +931,12 @@ NTSTATUS cli_smb_recv(struct tevent_req *req, */ return status; } + } else { + /* + * Only the last request in the chain get the returned + * status. + */ + status = NT_STATUS_OK; } no_err: -- cgit