summaryrefslogtreecommitdiff
path: root/source4/rpc_server/echo/rpc_echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/rpc_server/echo/rpc_echo.c')
-rw-r--r--source4/rpc_server/echo/rpc_echo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/rpc_server/echo/rpc_echo.c b/source4/rpc_server/echo/rpc_echo.c
index c4e1256841..066bb2cdc1 100644
--- a/source4/rpc_server/echo/rpc_echo.c
+++ b/source4/rpc_server/echo/rpc_echo.c
@@ -105,6 +105,11 @@ static NTSTATUS echo_TestCall2(struct dcesrv_call_state *dce_call, TALLOC_CTX *m
return NT_STATUS_OK;
}
+static long echo_TestSleep(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct echo_TestSleep *r)
+{
+ sleep(r->in.seconds);
+ return r->in.seconds;
+}
/* include the generated boilerplate */
#include "librpc/gen_ndr/ndr_echo_s.c"