diff options
author | Volker Lendecke <vl@samba.org> | 2009-03-15 11:25:20 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-03-15 11:26:22 +0100 |
commit | 5fa4cf283f3f8bcf3c3399882f2e08ef902424c5 (patch) | |
tree | c942ca96e9cea625baf9a2a0aa23e7279c62e76f /source3 | |
parent | ec0c6e1617ea1d8a41ee4677ae270ede38024f2a (diff) | |
download | samba-5fa4cf283f3f8bcf3c3399882f2e08ef902424c5.tar.gz samba-5fa4cf283f3f8bcf3c3399882f2e08ef902424c5.tar.bz2 samba-5fa4cf283f3f8bcf3c3399882f2e08ef902424c5.zip |
Add queue argument to wb_resp_write
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/wbc_async.h | 3 | ||||
-rw-r--r-- | source3/lib/wb_reqtrans.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/source3/include/wbc_async.h b/source3/include/wbc_async.h index b5e769f8c3..fd9b669710 100644 --- a/source3/include/wbc_async.h +++ b/source3/include/wbc_async.h @@ -61,7 +61,8 @@ wbcErr wb_resp_read_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct winbindd_response **presp); struct tevent_req *wb_resp_write_send(TALLOC_CTX *mem_ctx, - struct tevent_context *ev, int fd, + struct tevent_context *ev, + struct tevent_queue *queue, int fd, struct winbindd_response *wb_resp); wbcErr wb_resp_write_recv(struct tevent_req *req); diff --git a/source3/lib/wb_reqtrans.c b/source3/lib/wb_reqtrans.c index 6ae1d1bb9b..e1c67491c0 100644 --- a/source3/lib/wb_reqtrans.c +++ b/source3/lib/wb_reqtrans.c @@ -372,7 +372,8 @@ struct resp_write_state { static void wb_resp_write_done(struct tevent_req *subreq); struct tevent_req *wb_resp_write_send(TALLOC_CTX *mem_ctx, - struct tevent_context *ev, int fd, + struct tevent_context *ev, + struct tevent_queue *queue, int fd, struct winbindd_response *wb_resp) { struct tevent_req *result, *subreq; @@ -394,7 +395,7 @@ struct tevent_req *wb_resp_write_send(TALLOC_CTX *mem_ctx, count = 2; } - subreq = writev_send(state, ev, NULL, fd, state->iov, count); + subreq = writev_send(state, ev, queue, fd, state->iov, count); if (subreq == NULL) { goto fail; } |