summaryrefslogtreecommitdiff
path: root/source3/torture/msgtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/msgtest.c')
-rw-r--r--source3/torture/msgtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/msgtest.c b/source3/torture/msgtest.c
index 8abb0a20d2..c40973a75c 100644
--- a/source3/torture/msgtest.c
+++ b/source3/torture/msgtest.c
@@ -63,7 +63,7 @@ void pong_message(int msg_type, pid_t src, void *buf, size_t len)
while (pong_count < i) {
message_dispatch();
- msleep(1);
+ smb_msleep(1);
}
/* Now test that the duplicate filtering code works. */
@@ -78,7 +78,7 @@ void pong_message(int msg_type, pid_t src, void *buf, size_t len)
for (i=0;i<n;i++) {
message_dispatch();
- msleep(1);
+ smb_msleep(1);
}
if (pong_count != 2) {