summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-10-05 23:11:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:04:51 -0500
commit7fe605c97e8f90beedd891429752ff9fd902b1c8 (patch)
tree6ef37f1601b992164bec5ea0e0e597b0234188e0 /source3
parent515be57030e5675581e86fec17546569e9f12ac9 (diff)
downloadsamba-7fe605c97e8f90beedd891429752ff9fd902b1c8.tar.gz
samba-7fe605c97e8f90beedd891429752ff9fd902b1c8.tar.bz2
samba-7fe605c97e8f90beedd891429752ff9fd902b1c8.zip
r10747: Remove overparanoid check that broke RPC function calls with no
[in] parameters. (This used to be commit 03a3caaddd5bf28a059d4edb5e55031f7e5de94a)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_pipe.c5
1 files changed, 0 insertions, 5 deletions
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) {