diff options
Diffstat (limited to 'Swiften/Base/sleep.cpp')
-rw-r--r-- | Swiften/Base/sleep.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/Base/sleep.cpp b/Swiften/Base/sleep.cpp index cecfd72..99d0fe6 100644 --- a/Swiften/Base/sleep.cpp +++ b/Swiften/Base/sleep.cpp @@ -5,10 +5,10 @@ namespace Swift { void sleep(unsigned int msecs) { - boost::xtime xt; - boost::xtime_get(&xt, boost::TIME_UTC); - xt.nsec += msecs*1000000; - boost::thread::sleep(xt); + boost::xtime xt; + boost::xtime_get(&xt, boost::TIME_UTC); + xt.nsec += msecs*1000000; + boost::thread::sleep(xt); } } |