summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index ed415c5e13..c0367a5ee8 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -295,7 +295,7 @@ bool schedule_aio_write_and_X(connection_struct *conn,
if (!srv_send_smb(smbd_server_fd(),aio_ex->outbuf,
true, aio_ex->req->seqnum+1,
IS_CONN_ENCRYPTED(fsp->conn),
- &req->pcd)) {
+ &aio_ex->req->pcd)) {
exit_server_cleanly("handle_aio_write: srv_send_smb "
"failed.");
}