summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-03-15 15:11:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:30 -0500
commita19949821399543a9d0924333d5efb4a8695f06f (patch)
treeda56a1285f93191b0ddcb67531c3923a28f1dea8 /source3/rpc_client
parent0f0ad2992eedeb9e75ddd2c122b5a5b291ba4efe (diff)
downloadsamba-a19949821399543a9d0924333d5efb4a8695f06f.tar.gz
samba-a19949821399543a9d0924333d5efb4a8695f06f.tar.bz2
samba-a19949821399543a9d0924333d5efb4a8695f06f.zip
r14449: fix the build (sorry everyone)
(This used to be commit e49ca3af8c2522aee670e6b807d7b3df31be47f6)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c3
1 files changed, 2 insertions, 1 deletions
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 */