summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/cm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/netapi/cm.c')
-rw-r--r--source3/lib/netapi/cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c
index bb5d6b234a..dbb6b6f02d 100644
--- a/source3/lib/netapi/cm.c
+++ b/source3/lib/netapi/cm.c
@@ -169,7 +169,7 @@ static NTSTATUS pipe_cm_find(struct client_ipc_connection *ipc,
for (p = ipc->pipe_connections; p; p = p->next) {
const char *ipc_remote_name;
- if (!rpc_pipe_np_smb_conn(p->pipe)) {
+ if (!rpccli_is_connected(p->pipe)) {
return NT_STATUS_PIPE_EMPTY;
}