From 7fe605c97e8f90beedd891429752ff9fd902b1c8 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. (This used to be commit 03a3caaddd5bf28a059d4edb5e55031f7e5de94a) --- source3/rpc_client/cli_pipe.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3/rpc_client') diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index c29ee0c067..01f9a86c87 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/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