diff options
author | Björn Jacke <bj@sernet.de> | 2010-09-16 21:36:37 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2010-09-16 21:38:20 +0200 |
commit | 2b254c814b139f93997f61525d77b934596c53a3 (patch) | |
tree | 945897a1c52a9d6d8f5958f47b6c8b4a877d7164 /source4/torture/rpc/handles.c | |
parent | 0fd16018a1c993166eae72390433398347538a81 (diff) | |
download | samba-2b254c814b139f93997f61525d77b934596c53a3.tar.gz samba-2b254c814b139f93997f61525d77b934596c53a3.tar.bz2 samba-2b254c814b139f93997f61525d77b934596c53a3.zip |
s3/s4: merge msleep and smb_msleep
the merged variant is renamed to smb_msleep as some platforms already have a
msleep function.
Diffstat (limited to 'source4/torture/rpc/handles.c')
-rw-r--r-- | source4/torture/rpc/handles.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/rpc/handles.c b/source4/torture/rpc/handles.c index f47789ae60..13357ac947 100644 --- a/source4/torture/rpc/handles.c +++ b/source4/torture/rpc/handles.c @@ -287,7 +287,7 @@ static bool test_handles_lsa_shared(struct torture_context *torture) /* close first connection */ torture_comment(torture, "disconnect p1\n"); talloc_free(p1); - msleep(5); + smb_msleep(5); /* * and it's still available on p2,p3 @@ -327,7 +327,7 @@ static bool test_handles_lsa_shared(struct torture_context *torture) talloc_free(p2); talloc_free(p3); talloc_free(p4); - msleep(10); + smb_msleep(10); /* * now open p5 @@ -455,7 +455,7 @@ static bool test_handles_mixed_shared(struct torture_context *torture) talloc_free(p1); talloc_free(p2); - msleep(10); + smb_msleep(10); torture_comment(torture, "connect samr pipe3 - should fail\n"); status = torture_rpc_connection_transport(torture, &p3, &ndr_table_samr, |