summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-08-14 22:17:07 +0000
committerGerald Carter <jerry@samba.org>2003-08-14 22:17:07 +0000
commitb09eb5aa932a45d82b0b1d2a5d0c447be1a0f28a (patch)
tree7bdc3cc34f52f99bb6d75dec975148f125e95d86
parent8f75104da17dac200395ccc91c32878b0ee5ef9b (diff)
downloadsamba-b09eb5aa932a45d82b0b1d2a5d0c447be1a0f28a.tar.gz
samba-b09eb5aa932a45d82b0b1d2a5d0c447be1a0f28a.tar.bz2
samba-b09eb5aa932a45d82b0b1d2a5d0c447be1a0f28a.zip
jeremy foo
(This used to be commit 0b31f592df9aca952f978fd6f28c362a0bf02a53)
-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 */