[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-356-g8e945ea

Volker Lendecke vlendec at samba.org
Sun Mar 15 10:27:31 GMT 2009


The branch, v3-4-test has been updated
       via  8e945ea3c2ba46c0716c984766b4d8cc252c4004 (commit)
      from  aaf4c1ddf32e45d51e0fcd924b3cc2a863831567 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test


- Log -----------------------------------------------------------------
commit 8e945ea3c2ba46c0716c984766b4d8cc252c4004
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Mar 15 11:25:20 2009 +0100

    Add queue argument to wb_resp_write

-----------------------------------------------------------------------

Summary of changes:
 source3/include/wbc_async.h |    3 ++-
 source3/lib/wb_reqtrans.c   |    5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/include/wbc_async.h b/source3/include/wbc_async.h
index b5e769f..fd9b669 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 6ae1d1b..e1c6749 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;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list