summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_read.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-12 13:47:56 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-12 14:35:43 +0100
commite7a100200bf19655f7ebc100ff13ba6d4adfca78 (patch)
tree90ac81551f2e9b6ece4004632ebaf424557c7da0 /source3/smbd/smb2_read.c
parentbf8cce18c6dba9ed254a256ce3e8827e7f1e1827 (diff)
downloadsamba-e7a100200bf19655f7ebc100ff13ba6d4adfca78.tar.gz
samba-e7a100200bf19655f7ebc100ff13ba6d4adfca78.tar.bz2
samba-e7a100200bf19655f7ebc100ff13ba6d4adfca78.zip
s3:smbd/pipes: avoid passing server_event_context() as event context to np_{read,write}_send
metze
Diffstat (limited to 'source3/smbd/smb2_read.c')
-rw-r--r--source3/smbd/smb2_read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_read.c b/source3/smbd/smb2_read.c
index 08622092c6..24ec3e12fc 100644
--- a/source3/smbd/smb2_read.c
+++ b/source3/smbd/smb2_read.c
@@ -451,7 +451,7 @@ static struct tevent_req *smbd_smb2_read_send(TALLOC_CTX *mem_ctx,
return tevent_req_post(req, ev);
}
- subreq = np_read_send(state, server_event_context(),
+ subreq = np_read_send(state, ev,
fsp->fake_file_handle,
state->out_data.data,
state->out_data.length);