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/nmbd/asyncdns.c | 2 +- source3/nmbd/nmbd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/nmbd') diff --git a/source3/nmbd/asyncdns.c b/source3/nmbd/asyncdns.c index 9e7707b410..0edec372cd 100644 --- a/source3/nmbd/asyncdns.c +++ b/source3/nmbd/asyncdns.c @@ -168,7 +168,7 @@ void start_async_dns(void) status = reinit_after_fork(nmbd_messaging_context(), nmbd_event_context(), - procid_self(), true); + true); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("reinit_after_fork() failed\n")); diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 08a5504be4..f61220b156 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -917,7 +917,7 @@ static bool open_sockets(bool isdaemon, int port) status = reinit_after_fork(nmbd_messaging_context(), nmbd_event_context(), - procid_self(), false); + false); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("reinit_after_fork() failed\n")); -- cgit