1
0
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:
Andrew Tridgell 2007-08-21 01:16:04 +00:00 committed by Gerald (Jerry) Carter
parent e1b93be1e1
commit c61415b05d

View File

@ -295,7 +295,7 @@ static void report_rate(struct event_context *ev, struct timed_event *te,
p.in.size = 0; p.in.size = 0;
p.in.data = NULL; p.in.data = NULL;
req = smb_raw_echo_send(state[i].tree->session->transport, &p); 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; req->async.fn = echo_completion;
} }
} }