]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Call rpc_srv_register instead of rpc_pipe_register_commands in eventlog and svcctl
authorVolker Lendecke <vl@samba.org>
Tue, 6 Jan 2009 22:39:09 +0000 (23:39 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 9 Jan 2009 22:17:57 +0000 (23:17 +0100)
source3/rpc_server/srv_eventlog.c

index 973be28040adf2490b056757c1b4cefd33e80fae..39e3115561f845625bf930b677646130e147ada9 100644 (file)
@@ -106,8 +106,8 @@ struct api_struct api_eventlog_cmds[] =
 
 NTSTATUS rpc_eventlog2_init(void)
 {
-       return rpc_pipe_register_commands(SMB_RPC_INTERFACE_VERSION, 
-               "eventlog", "eventlog", &ndr_table_eventlog.syntax_id,
+       return rpc_srv_register(SMB_RPC_INTERFACE_VERSION,
+               "eventlog", "eventlog", &ndr_table_eventlog,
                api_eventlog_cmds,
                sizeof(api_eventlog_cmds)/sizeof(struct api_struct));
 }