r10747: Remove overparanoid check that broke RPC function calls with no
authorJelmer Vernooij <jelmer@samba.org>
Wed, 5 Oct 2005 23:11:34 +0000 (23:11 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:04:51 +0000 (11:04 -0500)
[in] parameters.

source/rpc_client/cli_pipe.c

index c29ee0c0676ab7248cadcd0f068e3d35f082e4cb..01f9a86c87e3d17fd537bbf8b2b904b424c69dbd 100644 (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) {