mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-15 06:32:31 +00:00
Switched from tracker dump in bencode to std::istream*.
Various *BSD port fixes. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@406 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -54,7 +54,8 @@ print_download_status(core::Download* d) {
|
||||
|
||||
std::string
|
||||
print_hhmmss(utils::Timer t) {
|
||||
std::tm *u = std::localtime(&(time_t)t.tval().tv_sec);
|
||||
time_t tv_sec = static_cast<time_t>(t.tval().tv_sec);
|
||||
std::tm *u = std::localtime(&tv_sec);
|
||||
|
||||
if (u == NULL)
|
||||
return "inv_time";
|
||||
|
||||
Reference in New Issue
Block a user