log_time fix

This commit is contained in:
Arvid Norberg 2009-08-02 01:42:12 +00:00
parent 797f1e5ae5
commit 3cfa5c1932
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ namespace libtorrent
std::string log_time()
{
static const ptime start = time_now();
static const ptime start = time_now_hires();
char ret[200];
std::sprintf(ret, "%d", total_milliseconds(time_now() - start));
return ret;