mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
s3:libsmb/async_smb: in cli_state_notify_pending() we always disconnect
So we should always set state->mid = 0. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 20 11:34:23 CEST 2011 on sn-devel-104
This commit is contained in:
parent
13a3aa1312
commit
81f71e76fd
@ -287,13 +287,11 @@ static void cli_state_notify_pending(struct cli_state *cli, NTSTATUS status)
|
||||
req = cli->conn.pending[0];
|
||||
state = tevent_req_data(req, struct cli_smb_state);
|
||||
|
||||
if (NT_STATUS_EQUAL(status, NT_STATUS_PIPE_BROKEN)) {
|
||||
/*
|
||||
* We're dead. No point waiting for trans2
|
||||
* replies.
|
||||
*/
|
||||
state->mid = 0;
|
||||
}
|
||||
/*
|
||||
* We're dead. No point waiting for trans2
|
||||
* replies.
|
||||
*/
|
||||
state->mid = 0;
|
||||
|
||||
cli_smb_req_unset_pending(req);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user