summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-06 18:45:41 +0200
committerVolker Lendecke <vl@samba.org>2010-10-08 21:11:45 +0200
commit5e482aeebf43f95aa003c68d25f7773a944b227e (patch)
treeae763c05e67e4ca38ed93b2b9ab45772f99f9d24
parente36e67fe047dca505b675c4b6b79b9670a9ad91b (diff)
downloadsamba-5e482aeebf43f95aa003c68d25f7773a944b227e.tar.gz
samba-5e482aeebf43f95aa003c68d25f7773a944b227e.tar.bz2
samba-5e482aeebf43f95aa003c68d25f7773a944b227e.zip
s3: Implement echo_TestSleep
-rw-r--r--source3/rpc_server/srv_echo_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_echo_nt.c b/source3/rpc_server/srv_echo_nt.c
index e8d96ff2a6..87b2491e36 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;
}