summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-08-21 01:16:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:20 -0500
commit489d23e808e8a5a90ac2a6c57160bd6c6a651690 (patch)
treecfea2c3db70e5ebe4f7a5281984bbe6e1f083736 /source4
parent084036d78a9d16ad5d2634a38cd123e1a72164b1 (diff)
downloadsamba-489d23e808e8a5a90ac2a6c57160bd6c6a651690.tar.gz
samba-489d23e808e8a5a90ac2a6c57160bd6c6a651690.tar.bz2
samba-489d23e808e8a5a90ac2a6c57160bd6c6a651690.zip
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)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/raw/lockbench.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}