From e7a100200bf19655f7ebc100ff13ba6d4adfca78 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 12 Dec 2011 13:47:56 +0100 Subject: s3:smbd/pipes: avoid passing server_event_context() as event context to np_{read,write}_send metze --- source3/smbd/pipes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/smbd/pipes.c') diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c index 2ff3779b0e..b680087dd4 100644 --- a/source3/smbd/pipes.c +++ b/source3/smbd/pipes.c @@ -202,7 +202,7 @@ void reply_pipe_write(struct smb_request *req) DEBUG(6, ("reply_pipe_write: %x name: %s len: %d\n", (int)fsp->fnum, fsp_str_dbg(fsp), (int)state->numtowrite)); - subreq = np_write_send(state, server_event_context(), + subreq = np_write_send(state, req->sconn->ev_ctx, fsp->fake_file_handle, data, state->numtowrite); if (subreq == NULL) { TALLOC_FREE(state); @@ -318,7 +318,7 @@ void reply_pipe_write_and_X(struct smb_request *req) state->numtowrite -= 2; } - subreq = np_write_send(state, server_event_context(), + subreq = np_write_send(state, req->sconn->ev_ctx, fsp->fake_file_handle, data, state->numtowrite); if (subreq == NULL) { TALLOC_FREE(state); @@ -425,7 +425,7 @@ void reply_pipe_read_and_X(struct smb_request *req) state->outbuf = req->outbuf; req->outbuf = NULL; - subreq = np_read_send(state, server_event_context(), + subreq = np_read_send(state, req->sconn->ev_ctx, fsp->fake_file_handle, data, state->smb_maxcnt); if (subreq == NULL) { -- cgit