jeremy foo
authorGerald Carter <jerry@samba.org>
Thu, 14 Aug 2003 22:17:07 +0000 (22:17 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 14 Aug 2003 22:17:07 +0000 (22:17 +0000)
(This used to be commit 0b31f592df9aca952f978fd6f28c362a0bf02a53)

source3/rpc_server/srv_echo.c

index 909893ce6d4dcbc90ec337b6a22f389d7adb3889..c6cfde07c15e678b23070352ec8cdd19fe1aea48 100644 (file)
@@ -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 */