diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-03 00:28:07 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:47:15 +0100 |
commit | 291ddf433685ee5c25e172885045a4b60d7bb1ee (patch) | |
tree | 49799dd1f97905f107642115ccb5e15cac8b375c /source4/wrepl_server | |
parent | 6c999cd12344f2bb8b1d2941210b4c205b3e0aad (diff) | |
download | samba-291ddf433685ee5c25e172885045a4b60d7bb1ee.tar.gz samba-291ddf433685ee5c25e172885045a4b60d7bb1ee.tar.bz2 samba-291ddf433685ee5c25e172885045a4b60d7bb1ee.zip |
r26237: Add loadparm context to the server service interface.
(This used to be commit 1386c5c92505a950c65411b8af74d703ce023f95)
Diffstat (limited to 'source4/wrepl_server')
-rw-r--r-- | source4/wrepl_server/wrepl_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/wrepl_server/wrepl_server.c b/source4/wrepl_server/wrepl_server.c index a5c8007285..fbbd8e26d9 100644 --- a/source4/wrepl_server/wrepl_server.c +++ b/source4/wrepl_server/wrepl_server.c @@ -495,9 +495,9 @@ static void wreplsrv_task_init(struct task_server *task) /* initialise the WREPL server */ -static NTSTATUS wreplsrv_init(struct event_context *event_ctx, const struct model_ops *model_ops) +static NTSTATUS wreplsrv_init(struct event_context *event_ctx, struct loadparm_context *lp_ctx, const struct model_ops *model_ops) { - if (!lp_wins_support(global_loadparm)) { + if (!lp_wins_support(lp_ctx)) { return NT_STATUS_OK; } |