summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_pipe_hnd.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-01 19:43:07 +0100
committerVolker Lendecke <vl@samba.org>2009-03-08 11:20:59 +0100
commitfe486d7b9f580a17d23dd57582087c7d28cb738d (patch)
treea7e931addabc7b97450771fd6030f886cda39354 /source3/rpc_server/srv_pipe_hnd.c
parent46bcb10b5abb21758cf234764b64220ede1b7ab5 (diff)
downloadsamba-fe486d7b9f580a17d23dd57582087c7d28cb738d.tar.gz
samba-fe486d7b9f580a17d23dd57582087c7d28cb738d.tar.bz2
samba-fe486d7b9f580a17d23dd57582087c7d28cb738d.zip
Add "queue" to writev_send
Unless higher levels queue themselves somehow, writev will *always* be queued. So the queueing should be done at the right level.
Diffstat (limited to 'source3/rpc_server/srv_pipe_hnd.c')
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index a5d059c06a..fb7aca5c0f 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -1243,7 +1243,8 @@ static void np_write_trigger(struct async_req *req)
req->private_data, struct np_write_state);
struct tevent_req *subreq;
- subreq = writev_send(state, state->ev, state->p->fd, &state->iov, 1);
+ subreq = writev_send(state, state->ev, NULL, state->p->fd,
+ &state->iov, 1);
if (async_req_nomem(subreq, req)) {
return;
}