summaryrefslogtreecommitdiff
path: root/source3/smbd/notify.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-03 21:55:05 +0100
committerVolker Lendecke <vl@samba.org>2008-11-04 20:52:06 +0100
commitb8125663d90d9748b71a25a06a357167958dd18e (patch)
tree52144bf1e71acf4d77f81cdb66c3878bc984d714 /source3/smbd/notify.c
parente4897a5376309bd73727f4130bf9bc6170158a6f (diff)
downloadsamba-b8125663d90d9748b71a25a06a357167958dd18e.tar.gz
samba-b8125663d90d9748b71a25a06a357167958dd18e.tar.bz2
samba-b8125663d90d9748b71a25a06a357167958dd18e.zip
Make "inbuf" a talloc child of "smb_request" for normal smb requests
This is necessary if we want to keep the whole smb_request for deferred ops. The explicit settings of req->inbuf will be removed once all those deferring operations are converted to store the whole request and not just the inbuf.
Diffstat (limited to 'source3/smbd/notify.c')
-rw-r--r--source3/smbd/notify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index 139dfe7d5b..b2d0f20f89 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -198,6 +198,7 @@ void change_notify_reply(connection_struct *conn,
SCVAL(tmp_request, smb_wct, 0);
init_smb_request(req, tmp_request,0, conn->encrypted_tid);
+ req->inbuf = tmp_request;
send_nt_replies(conn, req, NT_STATUS_OK, prs_data_p(&ps),
prs_offset(&ps), NULL, 0);