From 5a3c64668a33fc3fa8f87a78d06fa040eed9f8f8 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 4 Jul 2010 16:18:12 +0200 Subject: s3: Re-initialize the server_id in messaging_reinit --- source3/lib/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index d7e765d1af..1467c5445d 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -872,8 +872,8 @@ void smb_msleep(unsigned int t) } NTSTATUS reinit_after_fork(struct messaging_context *msg_ctx, - struct event_context *ev_ctx, - bool parent_longlived) + struct event_context *ev_ctx, + bool parent_longlived) { NTSTATUS status = NT_STATUS_OK; @@ -899,7 +899,7 @@ NTSTATUS reinit_after_fork(struct messaging_context *msg_ctx, * For clustering, we need to re-init our ctdbd connection after the * fork */ - status = messaging_reinit(msg_ctx); + status = messaging_reinit(msg_ctx, procid_self()); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("messaging_reinit() failed: %s\n", nt_errstr(status))); -- cgit