1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

s3:smb2cli: make sure requests are not finished, when we send when to the network

metze
This commit is contained in:
Stefan Metzmacher 2011-09-05 09:35:43 +02:00
parent 0b6087c7be
commit 4dca2acfe4

View File

@ -254,6 +254,10 @@ NTSTATUS smb2cli_req_compound_submit(struct tevent_req **reqs,
bool ret;
uint64_t mid;
if (!tevent_req_is_in_progress(reqs[i])) {
return NT_STATUS_INTERNAL_ERROR;
}
state = tevent_req_data(reqs[i], struct smb2cli_req_state);
if (state->cli->smb2.mid == UINT64_MAX) {