summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-10-05 23:11:34 +0000
committerJelmer Vernooij <jelmer@samba.org>2005-10-05 23:11:34 +0000
commitb7767cd55c0da3ac27731a18704bae3e0bb15eda (patch)
tree4e9d06b46cea0ba528e627e9808aa9f19c3fcfc4 /source/rpc_client
parentc1e973b81c1f116b7fac9f786977fd61c72299e4 (diff)
downloadsamba-b7767cd55c0da3ac27731a18704bae3e0bb15eda.tar.gz
samba-b7767cd55c0da3ac27731a18704bae3e0bb15eda.tar.xz
samba-b7767cd55c0da3ac27731a18704bae3e0bb15eda.zip
r10747: Remove overparanoid check that broke RPC function calls with no
[in] parameters.
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_pipe.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index c29ee0c0676..01f9a86c87e 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/rpc_client/cli_pipe.c
@@ -1467,11 +1467,6 @@ NTSTATUS rpc_api_pipe_req(struct rpc_pipe_client *cli,
return NT_STATUS_INVALID_PARAMETER;
}
- if (data_left == 0) {
- /* Caller is screwed up ! */
- return NT_STATUS_INVALID_PARAMETER;
- }
-
prs_init(&outgoing_pdu, cli->max_xmit_frag, prs_get_mem_context(in_data), MARSHALL);
while (1) {