diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-12-12 13:47:56 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-12-12 14:35:43 +0100 |
commit | e7a100200bf19655f7ebc100ff13ba6d4adfca78 (patch) | |
tree | 90ac81551f2e9b6ece4004632ebaf424557c7da0 /source3/smbd/ipc.c | |
parent | bf8cce18c6dba9ed254a256ce3e8827e7f1e1827 (diff) | |
download | samba-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/ipc.c')
-rw-r--r-- | source3/smbd/ipc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c index 84cf1c54f7..36c29164f0 100644 --- a/source3/smbd/ipc.c +++ b/source3/smbd/ipc.c @@ -268,7 +268,7 @@ static void api_dcerpc_cmd(connection_struct *conn, struct smb_request *req, state->num_data = length; state->max_read = max_read; - subreq = np_write_send(state, server_event_context(), state->handle, + subreq = np_write_send(state, req->sconn->ev_ctx, state->handle, state->data, length); if (subreq == NULL) { TALLOC_FREE(state); @@ -305,7 +305,7 @@ static void api_dcerpc_cmd_write_done(struct tevent_req *subreq) goto send; } - subreq = np_read_send(state, server_event_context(), + subreq = np_read_send(state, req->sconn->ev_ctx, state->handle, state->data, state->max_read); if (subreq == NULL) { reply_nterror(req, NT_STATUS_NO_MEMORY); |