diff options
Diffstat (limited to 'source3/libsmb/async_smb.c')
-rw-r--r-- | source3/libsmb/async_smb.c | 6 |
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: |