From 489d23e808e8a5a90ac2a6c57160bd6c6a651690 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 21 Aug 2007 01:16:04 +0000 Subject: r24585: put in the right state variable when doing a SMBecho - this caused the wrong connection to reconnect on a SMBecho failure (This used to be commit c61415b05ddd29c7214384189f7d0ddabdaa3b71) --- source4/torture/raw/lockbench.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture') diff --git a/source4/torture/raw/lockbench.c b/source4/torture/raw/lockbench.c index 168131a6d2..6908fbeef9 100644 --- a/source4/torture/raw/lockbench.c +++ b/source4/torture/raw/lockbench.c @@ -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; } } -- cgit