1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-23 06:50:21 +03:00

messaging3: Move sec_init() call out of messaging_dgm_init()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2014-07-17 11:33:26 +00:00 committed by Jeremy Allison
parent 3aa3c6ed01
commit 7c6a6cd5c8
2 changed files with 2 additions and 2 deletions

View File

@ -245,6 +245,8 @@ struct messaging_context *messaging_init(TALLOC_CTX *mem_ctx,
ctx->event_ctx = ev;
ctx->have_context = &have_context;
sec_init();
ret = messaging_dgm_init(ctx, ctx->event_ctx, ctx->id,
messaging_recv_cb, ctx, &ctx->local);

View File

@ -219,8 +219,6 @@ int messaging_dgm_init(TALLOC_CTX *mem_ctx,
return ENAMETOOLONG;
}
sec_init();
ret = messaging_dgm_lockfile_create(ctx, cache_dir, pid.pid,
&ctx->lockfile_fd, pid.unique_id);
if (ret != 0) {