From 125696b73dbe3d0813432c9775c146e861b4707c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 6 Jan 2009 23:29:25 +0100 Subject: Pass the full ndr_interface_table into the s3 rpcserver when registering --- librpc/gen_ndr/srv_initshutdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'librpc/gen_ndr/srv_initshutdown.c') diff --git a/librpc/gen_ndr/srv_initshutdown.c b/librpc/gen_ndr/srv_initshutdown.c index dbbfaaa41a..f0f3a7ba73 100644 --- a/librpc/gen_ndr/srv_initshutdown.c +++ b/librpc/gen_ndr/srv_initshutdown.c @@ -242,5 +242,5 @@ void initshutdown_get_pipe_fns(struct api_struct **fns, int *n_fns) NTSTATUS rpc_initshutdown_init(void) { - return rpc_pipe_register_commands(SMB_RPC_INTERFACE_VERSION, "initshutdown", "initshutdown", &ndr_table_initshutdown.syntax_id, api_initshutdown_cmds, sizeof(api_initshutdown_cmds) / sizeof(struct api_struct)); + return rpc_srv_register(SMB_RPC_INTERFACE_VERSION, "initshutdown", "initshutdown", &ndr_table_initshutdown, api_initshutdown_cmds, sizeof(api_initshutdown_cmds) / sizeof(struct api_struct)); } -- cgit