diff options
author | Volker Lendecke <vl@samba.org> | 2008-04-20 14:05:25 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-04-20 14:08:16 +0200 |
commit | b9cc05506273e5ce3398a5912b9c9e5989717480 (patch) | |
tree | f232ff8840eeecac5e855032852f448d27c2db4b /source3/lib/netapi | |
parent | 0c17878e2189431fcb7d63c4ddd0f4647ba411b9 (diff) | |
download | samba-b9cc05506273e5ce3398a5912b9c9e5989717480.tar.gz samba-b9cc05506273e5ce3398a5912b9c9e5989717480.tar.bz2 samba-b9cc05506273e5ce3398a5912b9c9e5989717480.zip |
Introduce rpc_pipe_np_smb_conn()
This abstracts away all references to rpc_pipe_client->cli, the only reference
is now in cli_pipe.c.
(This used to be commit c56e1c08cef107ff33a34346ceeca3475a102b19)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r-- | source3/lib/netapi/cm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c index 2e16b98ffb..ae1091c504 100644 --- a/source3/lib/netapi/cm.c +++ b/source3/lib/netapi/cm.c @@ -99,7 +99,7 @@ static struct rpc_pipe_client *pipe_cm_find(struct cli_state *cli, for (p = pipe_connections; p; p = p->next) { - if (!p->pipe->cli) { + if (!rpc_pipe_np_smb_conn(p->pipe)) { *status = NT_STATUS_PIPE_EMPTY; return NULL; } |