summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-31 01:59:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:09 -0500
commit8b7013fa50e5e1663121b8f01e1849fcebdc8e73 (patch)
tree517062f60a00df57589e2f18818ddd9d6a935e78
parentc0e574a4739d20df87a0a48897537ba4c9afb2bf (diff)
downloadsamba-8b7013fa50e5e1663121b8f01e1849fcebdc8e73.tar.gz
samba-8b7013fa50e5e1663121b8f01e1849fcebdc8e73.tar.bz2
samba-8b7013fa50e5e1663121b8f01e1849fcebdc8e73.zip
r12628: Prevent double registration warnings
(This used to be commit 98ec52beeed47c71861c284c7aae66269c074e66)
-rw-r--r--source4/auth/gensec/gensec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c
index 5ff925c078..e9a304133c 100644
--- a/source4/auth/gensec/gensec.c
+++ b/source4/auth/gensec/gensec.c
@@ -949,7 +949,7 @@ NTSTATUS gensec_init(void)
init_module_fn *shared_init = load_samba_modules(NULL, "gensec");
if (initialized) return NT_STATUS_OK;
- initialized = False;
+ initialized = True;
run_init_functions(static_init);
run_init_functions(shared_init);