summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-03-15 15:11:44 +0000
committerGerald Carter <jerry@samba.org>2006-03-15 15:11:44 +0000
commit7223913e3e495ca352ab183138aa244b33828f04 (patch)
tree54672047c62309581fea5a0997f32c7b528b402d /source/rpc_client
parent610c63c64b128f413529ae628d459751e1ffceb1 (diff)
downloadsamba-7223913e3e495ca352ab183138aa244b33828f04.tar.gz
samba-7223913e3e495ca352ab183138aa244b33828f04.tar.xz
samba-7223913e3e495ca352ab183138aa244b33828f04.zip
r14449: fix the build (sorry everyone)
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_pipe.c3
1 files changed, 2 insertions, 1 deletions
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 */