diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-04-17 11:46:57 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-04-20 18:15:00 +0200 |
commit | d0e68032187d7167d535d710f01a1c84ac006f3c (patch) | |
tree | 4e31c527fbaaf549db72ee9d89c7f8b1bfebf18a /source4/librpc | |
parent | f3c9d124bb302ded239a835a6173fbfe262a0bab (diff) | |
download | samba-d0e68032187d7167d535d710f01a1c84ac006f3c.tar.gz samba-d0e68032187d7167d535d710f01a1c84ac006f3c.tar.bz2 samba-d0e68032187d7167d535d710f01a1c84ac006f3c.zip |
s4:librpc/rpc: remove async argument from the sync dcerpc_request() function
metze
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 3 | ||||
-rw-r--r-- | source4/librpc/rpc/dcerpc.h | 1 | ||||
-rw-r--r-- | source4/librpc/rpc/pyrpc.c | 2 |
3 files changed, 2 insertions, 4 deletions
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); |