The branch, master has been updated via dbb7db6... s3: sendto_domain() is lo longer used from 678a3c4... s3: Simplify (bool != True) to !bool
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit dbb7db6c2532bb18674c6acea27688f22c41efb8 Author: Volker Lendecke <v...@samba.org> Date: Sat Apr 24 11:11:45 2010 +0200 s3: sendto_domain() is lo longer used ----------------------------------------------------------------------- Summary of changes: source3/winbindd/winbindd_dual.c | 28 ---------------------------- source3/winbindd/winbindd_proto.h | 2 -- 2 files changed, 0 insertions(+), 30 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index eb9ace2..073749e 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -428,34 +428,6 @@ static void async_domain_request_done(struct tevent_req *req) state->continuation(state->private_data_data, true); } -static void recvfrom_child(void *private_data_data, bool success) -{ - struct winbindd_cli_state *state = - talloc_get_type_abort(private_data_data, struct winbindd_cli_state); - enum winbindd_result result = state->response->result; - - /* This is an optimization: The child has written directly to the - * response buffer. The request itself is still in pending state, - * state that in the result code. */ - - state->response->result = WINBINDD_PENDING; - - if ((!success) || (result != WINBINDD_OK)) { - request_error(state); - return; - } - - request_ok(state); -} - -void sendto_domain(struct winbindd_cli_state *state, - struct winbindd_domain *domain) -{ - async_domain_request(state->mem_ctx, domain, - state->request, state->response, - recvfrom_child, state); -} - static void child_process_request(struct winbindd_child *child, struct winbindd_cli_state *state) { diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 2bf33cb..981b2f6 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -276,8 +276,6 @@ void async_domain_request(TALLOC_CTX *mem_ctx, struct winbindd_response *response, void (*continuation)(void *private_data_data, bool success), void *private_data_data); -void sendto_domain(struct winbindd_cli_state *state, - struct winbindd_domain *domain); void setup_child(struct winbindd_domain *domain, struct winbindd_child *child, const struct winbindd_child_dispatch_table *table, const char *logprefix, -- Samba Shared Repository