[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-359-g5fa4cf2

Volker Lendecke vlendec at samba.org
Sun Mar 15 10:26:45 GMT 2009


The branch, master has been updated
       via  5fa4cf283f3f8bcf3c3399882f2e08ef902424c5 (commit)
      from  ec0c6e1617ea1d8a41ee4677ae270ede38024f2a (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 5fa4cf283f3f8bcf3c3399882f2e08ef902424c5
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