mirror of
https://github.com/onyx-and-iris/vmrcli.git
synced 2025-01-18 08:41:08 +00:00
sleep after, set to 50ms
This commit is contained in:
parent
7db10650fb
commit
41afc099dc
@ -35,9 +35,9 @@ long login(T_VBVMR_INTERFACE *iVMR, int kind)
|
|||||||
endwait = time(NULL) + timeout;
|
endwait = time(NULL) + timeout;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
Sleep(100);
|
|
||||||
if ((rep = version(iVMR, &v)) == 0)
|
if ((rep = version(iVMR, &v)) == 0)
|
||||||
break;
|
break;
|
||||||
|
Sleep(50);
|
||||||
} while (time(NULL) < endwait);
|
} while (time(NULL) < endwait);
|
||||||
}
|
}
|
||||||
if (rep == 0)
|
if (rep == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user