From a19949821399543a9d0924333d5efb4a8695f06f 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) (This used to be commit e49ca3af8c2522aee670e6b807d7b3df31be47f6) --- source3/rpc_client/cli_pipe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/rpc_client') diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index a2e0dab990..c809ac1ac7 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/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