From 0f9d14820e222233d63b7a79b4b1ff044332ef41 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 12 Dec 2011 14:55:54 +0100 Subject: s3: Remove a bunch of calls to procid_self() All callers to messaging_[re]init only used procid_self() --- source3/rpc_server/epmd.c | 1 - source3/rpc_server/lsasd.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'source3/rpc_server') diff --git a/source3/rpc_server/epmd.c b/source3/rpc_server/epmd.c index 8c7efb4747..0d5e6ec6af 100644 --- a/source3/rpc_server/epmd.c +++ b/source3/rpc_server/epmd.c @@ -164,7 +164,6 @@ void start_epmd(struct tevent_context *ev_ctx, status = reinit_after_fork(msg_ctx, ev_ctx, - procid_self(), true); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("reinit_after_fork() failed\n")); diff --git a/source3/rpc_server/lsasd.c b/source3/rpc_server/lsasd.c index a4c07b1b1a..575b863976 100644 --- a/source3/rpc_server/lsasd.c +++ b/source3/rpc_server/lsasd.c @@ -248,7 +248,7 @@ static bool lsasd_child_init(struct tevent_context *ev_ctx, bool ok; status = reinit_after_fork(msg_ctx, ev_ctx, - procid_self(), true); + true); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("reinit_after_fork() failed\n")); smb_panic("reinit_after_fork() failed"); @@ -883,7 +883,7 @@ void start_lsasd(struct tevent_context *ev_ctx, status = reinit_after_fork(msg_ctx, ev_ctx, - procid_self(), true); + true); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("reinit_after_fork() failed\n")); smb_panic("reinit_after_fork() failed"); -- cgit