s3:rpc_client: don't mix layers and keep a reference to cli_state in the caller
commit354a543657b5b312441ceeb409fdbbf1a26298e3
authorStefan Metzmacher <metze@samba.org>
Mon, 29 Mar 2010 12:58:19 +0000 (29 14:58 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 30 Mar 2010 08:33:41 +0000 (30 10:33 +0200)
treeb004db98effd7e3e17884e9a2aa580362ca7ebf8
parentd072e664476fa3bd9132dca1cd464441817b73c0
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
(cherry picked from commit dc09b12681ea0e6d4c2b0f1c99dfeb1f23019c65)
(cherry picked from commit 1e2e47da82aeb249dce431541738a62cb139aebb)
source3/rpc_client/cli_pipe.c