forked from premiere/premiere-libtorrent
fix bug in last-seen-complete (#1234)
This commit is contained in:
parent
fe754453f4
commit
5012fcf10b
|
@ -1,3 +1,4 @@
|
|||
* fix bug in last-seen-complete
|
||||
* remove file size limit in torrent_info filename constructor
|
||||
* fix tail-padding for last file in create_torrent
|
||||
* don't send user-agent in metadata http downloads or UPnP requests when
|
||||
|
|
|
@ -1861,7 +1861,7 @@ namespace libtorrent
|
|||
// there should be a version too
|
||||
// but where do we put that info?
|
||||
|
||||
int last_seen_complete = boost::uint8_t(root.dict_find_int_value("complete_ago", -1));
|
||||
int const last_seen_complete = root.dict_find_int_value("complete_ago", -1);
|
||||
if (last_seen_complete >= 0) set_last_seen_complete(last_seen_complete);
|
||||
|
||||
std::string client_info = root.dict_find_string_value("v");
|
||||
|
|
Loading…
Reference in New Issue