From ef56945d0e33aebb089789906b9d037852c9b028 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Tue, 7 Sep 2010 22:18:53 +0300 Subject: [PATCH] s4-drepl_service.c: Update (C) and remove few trailing white spaces --- source4/dsdb/repl/drepl_service.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/source4/dsdb/repl/drepl_service.c b/source4/dsdb/repl/drepl_service.c index 0adef9e36e3..da0d9e5e79b 100644 --- a/source4/dsdb/repl/drepl_service.c +++ b/source4/dsdb/repl/drepl_service.c @@ -1,22 +1,23 @@ -/* +/* Unix SMB/CIFS mplementation. DSDB replication service - + Copyright (C) Stefan Metzmacher 2007 - + Copyright (C) Kamen Mazdrashki 2010 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program. If not, see . - + */ #include "includes.h" @@ -208,7 +209,7 @@ static WERROR _drepl_schedule_replication(struct dreplsrv_service *service, /* DsReplicaSync messages from the DRSUAPI server are forwarded here */ -static NTSTATUS drepl_replica_sync(struct irpc_message *msg, +static NTSTATUS drepl_replica_sync(struct irpc_message *msg, struct drsuapi_DsReplicaSync *r) { WERROR werr; @@ -355,11 +356,11 @@ static void dreplsrv_task_init(struct task_server *task) switch (lpcfg_server_role(task->lp_ctx)) { case ROLE_STANDALONE: - task_server_terminate(task, "dreplsrv: no DSDB replication required in standalone configuration", + task_server_terminate(task, "dreplsrv: no DSDB replication required in standalone configuration", false); return; case ROLE_DOMAIN_MEMBER: - task_server_terminate(task, "dreplsrv: no DSDB replication required in domain member configuration", + task_server_terminate(task, "dreplsrv: no DSDB replication required in domain member configuration", false); return; case ROLE_DOMAIN_CONTROLLER: -- 2.34.1