From d0e68032187d7167d535d710f01a1c84ac006f3c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 17 Apr 2009 11:46:57 +0200 Subject: s4:librpc/rpc: remove async argument from the sync dcerpc_request() function metze --- source4/librpc/rpc/dcerpc.c | 3 +-- source4/librpc/rpc/dcerpc.h | 1 - source4/librpc/rpc/pyrpc.c | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'source4/librpc/rpc') diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index 15c34f5dca..6ebbc79fcf 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -1150,14 +1150,13 @@ NTSTATUS dcerpc_request_recv(struct rpc_request *req, NTSTATUS dcerpc_request(struct dcerpc_pipe *p, struct GUID *object, uint16_t opnum, - bool async, TALLOC_CTX *mem_ctx, DATA_BLOB *stub_data_in, DATA_BLOB *stub_data_out) { struct rpc_request *req; - req = dcerpc_request_send(p, object, opnum, async, stub_data_in); + req = dcerpc_request_send(p, object, opnum, false, stub_data_in); if (req == NULL) { return NT_STATUS_NO_MEMORY; } diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h index d6619ace07..5b82a0ac7b 100644 --- a/source4/librpc/rpc/dcerpc.h +++ b/source4/librpc/rpc/dcerpc.h @@ -376,7 +376,6 @@ NTSTATUS dcerpc_binding_from_tower(TALLOC_CTX *mem_ctx, NTSTATUS dcerpc_request(struct dcerpc_pipe *p, struct GUID *object, uint16_t opnum, - bool async, TALLOC_CTX *mem_ctx, DATA_BLOB *stub_data_in, DATA_BLOB *stub_data_out); diff --git a/source4/librpc/rpc/pyrpc.c b/source4/librpc/rpc/pyrpc.c index 252883c851..82bb870f40 100644 --- a/source4/librpc/rpc/pyrpc.c +++ b/source4/librpc/rpc/pyrpc.c @@ -247,7 +247,7 @@ static PyObject *py_iface_request(PyObject *self, PyObject *args, PyObject *kwar } status = dcerpc_request(iface->pipe, object?&object_guid:NULL, - opnum, false, mem_ctx, &data_in, &data_out); + opnum, mem_ctx, &data_in, &data_out); if (NT_STATUS_IS_ERR(status)) { PyErr_SetDCERPCStatus(iface->pipe, status); -- cgit