Use util::sleep() instead of sleep()

pull/60/head
Tatsuhiro Tsujikawa 2013-03-31 15:46:15 +09:00
parent b9fb15f884
commit 80dbaf2566
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ void LpdMessageDispatcherTest::testSendMessage()
for(trycnt = 0; trycnt < 5; ++trycnt) {
nbytes = recvsock->readDataFrom(buf, sizeof(buf), peer);
if(nbytes == 0) {
sleep(1);
util::sleep(1);
} else {
break;
}