summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_echo.c7
1 files changed, 6 insertions, 1 deletions
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 */