diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/process.c | 2 | ||||
-rw-r--r-- | source3/smbd/server.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 6beed4fb3f..4d34bcf858 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -2899,7 +2899,7 @@ static NTSTATUS smbd_register_ips(struct smbd_server_connection *sconn, char tmp_addr[INET6_ADDRSTRLEN]; char *addr; - cconn = messaging_ctdbd_connection(procid_self()); + cconn = messaging_ctdbd_connection(); if (cconn == NULL) { return NT_STATUS_NO_MEMORY; } diff --git a/source3/smbd/server.c b/source3/smbd/server.c index aa0f7e85ab..c9ae742b99 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -729,8 +729,7 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent, #ifdef CLUSTER_SUPPORT if (lp_clustering()) { - ctdbd_register_reconfigure( - messaging_ctdbd_connection(procid_self())); + ctdbd_register_reconfigure(messaging_ctdbd_connection()); } #endif |