summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-09-28 21:36:15 -0700
committerJeremy Allison <jra@samba.org>2009-09-28 21:36:15 -0700
commit325baf37fffde738dcbb37a096d79f07b23586b2 (patch)
treef24247e6c33290403f3cd72054801540293a240a
parent2e989bab0764c298a2530a2d4c8690258eba210c (diff)
downloadsamba-325baf37fffde738dcbb37a096d79f07b23586b2.tar.gz
samba-325baf37fffde738dcbb37a096d79f07b23586b2.tar.bz2
samba-325baf37fffde738dcbb37a096d79f07b23586b2.zip
Don't defer a talloc_move'd pointer.
Jeremy.
-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.");
}