mirror of
https://github.com/samba-team/samba.git
synced 2025-10-31 12:23:52 +03:00
r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
This commit is contained in:
committed by
Stefan Metzmacher
parent
03270c5ffd
commit
ba8be2dfc0
@@ -102,7 +102,7 @@ void event_set_default_backend(const char *backend)
|
||||
static void event_backend_init(void)
|
||||
{
|
||||
#if _SAMBA_BUILD_
|
||||
init_module_fn static_init[] = STATIC_LIBEVENTS_MODULES;
|
||||
init_module_fn static_init[] = { STATIC_LIBEVENTS_MODULES, NULL };
|
||||
init_module_fn *shared_init;
|
||||
if (event_backends) return;
|
||||
shared_init = load_samba_modules(NULL, global_loadparm, "events");
|
||||
|
||||
Reference in New Issue
Block a user