r12628: Prevent double registration warnings
authorJelmer Vernooij <jelmer@samba.org>
Sat, 31 Dec 2005 01:59:08 +0000 (01:59 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:49:09 +0000 (13:49 -0500)
(This used to be commit 98ec52beeed47c71861c284c7aae66269c074e66)

source4/auth/gensec/gensec.c

index 5ff925c078bf9abfa61d4a801d0fd0ce4fc27266..e9a304133ce2849df50b5193fae9573d83fc7030 100644 (file)
@@ -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);