1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r10747: Remove overparanoid check that broke RPC function calls with no

[in] parameters.
(This used to be commit 03a3caaddd)
This commit is contained in:
Jelmer Vernooij 2005-10-05 23:11:34 +00:00 committed by Gerald (Jerry) Carter
parent 515be57030
commit 7fe605c97e

View File

@ -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) {