summaryrefslogtreecommitdiff
path: root/cli.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-05 16:06:16 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-05 16:06:16 -0400
commita7c4cbe53aad51b3e74fa9cb1af975cb8d356954 (patch)
treee4578c51ea7239aeaf5dd6ebcaa844a0fb00f9ea /cli.cpp
parent3368330b777da9561539c04ea589aa7060e1d569 (diff)
downloadinfinitytier-a7c4cbe53aad51b3e74fa9cb1af975cb8d356954.tar.gz
infinitytier-a7c4cbe53aad51b3e74fa9cb1af975cb8d356954.zip
CLI debugging, got rid of nasty old Thread class and replaced with newer cleaner portable idiom.
Diffstat (limited to 'cli.cpp')
-rw-r--r--cli.cpp2
1 files changed, 1 insertions, 1 deletions
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<void>::sleep(50);
if (!numResults) {
fprintf(stdout,"ERROR: no results received. Is ZeroTier One running?"ZT_EOL_S);