From 7223913e3e495ca352ab183138aa244b33828f04 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 15 Mar 2006 15:11:44 +0000 Subject: r14449: fix the build (sorry everyone) --- source/rpc_client/cli_pipe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/rpc_client') diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c index a2e0dab990f..c809ac1ac79 100644 --- a/source/rpc_client/cli_pipe.c +++ b/source/rpc_client/cli_pipe.c @@ -2174,7 +2174,8 @@ static struct rpc_pipe_client *cli_rpc_pipe_open(struct cli_state *cli, int pipe /* sanity check to protect against crashes */ if ( !cli ) { - return NT_STATUS_INVALID_HANDLE; + *perr = NT_STATUS_INVALID_HANDLE; + return NULL; } /* The pipe name index must fall within our array */ -- cgit