s3:rpc_client: don't mix layers and keep a reference to cli_state in the caller
authorStefan Metzmacher <metze@samba.org>
Mon, 29 Mar 2010 12:58:19 +0000 (14:58 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 29 Mar 2010 16:11:16 +0000 (18:11 +0200)
commitdc09b12681ea0e6d4c2b0f1c99dfeb1f23019c65
treec97a22f69b5fa306e6ae92e9a90aee2c38eb81be
parent5f8fc63515a02aaf55719cb8d3be8ce695178fe9
s3:rpc_client: don't mix layers and keep a reference to cli_state in the caller

We should not rely on the backend to have a reference to the cli_state.
This will make it possible for the backend to set its cli_state reference
to NULL, when the transport is dead.

metze
source3/rpc_client/cli_pipe.c