summaryrefslogtreecommitdiff
path: root/src/syncClient.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-12-11 14:57:23 +0000
committerOthmar Gsenger <otti@anytun.org>2008-12-11 14:57:23 +0000
commite78679702358b3104b558f0725c1a4af904e66fd (patch)
tree8737fc5cef5c0f47d8300878c4eed6f3802d6e4b /src/syncClient.cpp
parentsome type fixes (diff)
using boost sleep now
Diffstat (limited to 'src/syncClient.cpp')
-rw-r--r--src/syncClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syncClient.cpp b/src/syncClient.cpp
index 6dceb00..c6be0d8 100644
--- a/src/syncClient.cpp
+++ b/src/syncClient.cpp
@@ -94,7 +94,7 @@ void SyncClient::run()
if (connected)
cLog.msg(Log::PRIO_NOTICE) << "sync: connection to " << hostname_ <<":"<< port_<< " lost ("<< e.what() << ") retrying every 10sec";
connected=false;
- sleep(10);
+ boost::this_thread::sleep(boost::posix_time::milliseconds(10000));
}
}
}