From b7767cd55c0da3ac27731a18704bae3e0bb15eda Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 5 Oct 2005 23:11:34 +0000 Subject: r10747: Remove overparanoid check that broke RPC function calls with no [in] parameters. --- source/rpc_client/cli_pipe.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source/rpc_client') 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) { -- cgit