From: Volker Lendecke Date: Wed, 6 Oct 2010 16:45:41 +0000 (+0200) Subject: s3: Implement echo_TestSleep X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=5e482aeebf43f95aa003c68d25f7773a944b227e;p=abartlet%2Fsamba.git%2F.git s3: Implement echo_TestSleep --- diff --git a/source3/rpc_server/srv_echo_nt.c b/source3/rpc_server/srv_echo_nt.c index e8d96ff2a6d..87b2491e36d 100644 --- a/source3/rpc_server/srv_echo_nt.c +++ b/source3/rpc_server/srv_echo_nt.c @@ -100,7 +100,7 @@ NTSTATUS _echo_TestCall2(struct pipes_struct *p, struct echo_TestCall2 *r) uint32 _echo_TestSleep(struct pipes_struct *p, struct echo_TestSleep *r) { - p->rng_fault_state = True; + smb_msleep(r->in.seconds * 1000); return 0; }