summaryrefslogtreecommitdiff
path: root/source3/libsmb/async_smb.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-07 08:55:20 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-07 11:38:05 +0100
commit230cd1e276f9661f290b3eaeecca005303a68efb (patch)
tree8f6c6fa251f7addf85972be991ccf04a8bf88004 /source3/libsmb/async_smb.c
parent597f2ae3423ce70f84e41ed3293f049920fa0758 (diff)
downloadsamba-230cd1e276f9661f290b3eaeecca005303a68efb.tar.gz
samba-230cd1e276f9661f290b3eaeecca005303a68efb.tar.bz2
samba-230cd1e276f9661f290b3eaeecca005303a68efb.zip
s3:libsmb: return NT_STATUS_OK for if a request is not the last one in the chain
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 7 11:38:05 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/libsmb/async_smb.c')
-rw-r--r--source3/libsmb/async_smb.c6
1 files changed, 6 insertions, 0 deletions
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: