mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-02 09:54:29 +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 <utility>
|
||||||
#include <boost/bind.hpp>
|
#include <boost/bind.hpp>
|
||||||
#include <boost/function/function1.hpp>
|
#include <boost/function/function1.hpp>
|
||||||
|
//#include <boost/date_time/posix_time/time_formatters_limited.hpp>
|
||||||
|
|
||||||
#include "libtorrent/io.hpp"
|
#include "libtorrent/io.hpp"
|
||||||
#include "libtorrent/bencode.hpp"
|
#include "libtorrent/bencode.hpp"
|
||||||
@ -564,10 +565,10 @@ bool node_impl::refresh_storage() {
|
|||||||
}
|
}
|
||||||
m_next_storage_refresh = time_now() + sleepToRefresh;
|
m_next_storage_refresh = time_now() + sleepToRefresh;
|
||||||
|
|
||||||
#ifndef __ANDROID__
|
/*
|
||||||
printf("node dht: next storage refresh in %d seconds\n",
|
printf("node dht: next storage refresh in %s\n",
|
||||||
static_cast<int>(sleepToRefresh/1000000) );
|
boost::posix_time::to_simple_string(sleepToRefresh).c_str() );
|
||||||
#endif
|
*/
|
||||||
|
|
||||||
return did_something;
|
return did_something;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user