summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/raw/openbench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/openbench.c b/source4/torture/raw/openbench.c
index 73965e0333..10439e76f0 100644
--- a/source4/torture/raw/openbench.c
+++ b/source4/torture/raw/openbench.c
@@ -330,7 +330,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;
}
}