From b09eb5aa932a45d82b0b1d2a5d0c447be1a0f28a Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 14 Aug 2003 22:17:07 +0000 Subject: jeremy foo (This used to be commit 0b31f592df9aca952f978fd6f28c362a0bf02a53) --- source3/rpc_server/srv_echo.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/rpc_server/srv_echo.c b/source3/rpc_server/srv_echo.c index 909893ce6d..c6cfde07c1 100644 --- a/source3/rpc_server/srv_echo.c +++ b/source3/rpc_server/srv_echo.c @@ -136,10 +136,15 @@ void echo_get_pipe_fns( struct api_struct **fns, int *n_fns ) NTSTATUS rpc_echo_init(void) { - return rpc_pipe_register_commands(SMB_RPC_INTERFACE_VERSION, "rpcecho", "rpcecho", api_echo_cmds, sizeof(api_echo_cmds) / sizeof(struct api_struct)); } +#else /* DEVELOPER */ + +NTSTATUS rpc_echo_init(void) +{ + return NT_STATUS_OK; +} #endif /* DEVELOPER */ -- cgit