summaryrefslogtreecommitdiff
path: root/source/rpc_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-23 23:54:30 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-24 01:51:06 -0600
commitba8be2dfc0de4434c798663336b81f7f95cde520 (patch)
tree5891ee1ff7842ed96994f3f8aecb57c3518af2a0 /source/rpc_server
parent03270c5ffdb1476bef5eba846c2ea008111375fc (diff)
downloadsamba-ba8be2dfc0de4434c798663336b81f7f95cde520.tar.gz
r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
Diffstat (limited to 'source/rpc_server')
-rw-r--r--source/rpc_server/service_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_server/service_rpc.c b/source/rpc_server/service_rpc.c
index 33a86851a86..0483736912f 100644
--- a/source/rpc_server/service_rpc.c
+++ b/source/rpc_server/service_rpc.c
@@ -467,7 +467,7 @@ static NTSTATUS dcesrv_init(struct event_context *event_context,
NTSTATUS server_service_rpc_init(void)
{
- init_module_fn static_init[] = STATIC_dcerpc_server_MODULES;
+ init_module_fn static_init[] = { STATIC_dcerpc_server_MODULES, NULL };
init_module_fn *shared_init = load_samba_modules(NULL, global_loadparm, "dcerpc_server");
run_init_functions(static_init);