From a7c4cbe53aad51b3e74fa9cb1af975cb8d356954 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 5 Aug 2013 16:06:16 -0400 Subject: CLI debugging, got rid of nasty old Thread class and replaced with newer cleaner portable idiom. --- cli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli.cpp') diff --git a/cli.cpp b/cli.cpp index a72a0890..38237733 100644 --- a/cli.cpp +++ b/cli.cpp @@ -113,7 +113,7 @@ int main(int argc,char **argv) lastResultTime = Utils::now(); while ((Utils::now() - lastResultTime) < 300) - Thread::sleep(50); + Thread::sleep(50); if (!numResults) { fprintf(stdout,"ERROR: no results received. Is ZeroTier One running?"ZT_EOL_S); -- cgit v1.2.3