mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r24585: put in the right state variable when doing a SMBecho - this caused the
wrong connection to reconnect on a SMBecho failure
This commit is contained in:
parent
e1b93be1e1
commit
c61415b05d
@ -295,7 +295,7 @@ static void report_rate(struct event_context *ev, struct timed_event *te,
|
||||
p.in.size = 0;
|
||||
p.in.data = NULL;
|
||||
req = smb_raw_echo_send(state[i].tree->session->transport, &p);
|
||||
req->async.private = state;
|
||||
req->async.private = &state[i];
|
||||
req->async.fn = echo_completion;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user