mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 20:44:56 +00:00
i can't get this conversion from time_duration to string right. i give up.
This commit is contained in:
parent
b7fb1f3d3c
commit
8ec4b3e16e
@ -35,6 +35,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <utility>
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/function/function1.hpp>
|
||||
//#include <boost/date_time/posix_time/time_formatters_limited.hpp>
|
||||
|
||||
#include "libtorrent/io.hpp"
|
||||
#include "libtorrent/bencode.hpp"
|
||||
@ -564,10 +565,10 @@ bool node_impl::refresh_storage() {
|
||||
}
|
||||
m_next_storage_refresh = time_now() + sleepToRefresh;
|
||||
|
||||
#ifndef __ANDROID__
|
||||
printf("node dht: next storage refresh in %d seconds\n",
|
||||
static_cast<int>(sleepToRefresh/1000000) );
|
||||
#endif
|
||||
/*
|
||||
printf("node dht: next storage refresh in %s\n",
|
||||
boost::posix_time::to_simple_string(sleepToRefresh).c_str() );
|
||||
*/
|
||||
|
||||
return did_something;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user