Fix sorting of ETA column when having infinite values (closes #583347)

This commit is contained in:
Christophe Dumez
2010-05-21 11:46:12 +00:00
parent 982390f074
commit 29e79dc54d
3 changed files with 8 additions and 6 deletions

View File

@@ -42,6 +42,8 @@
#include <libtorrent/torrent_info.hpp>
#include <libtorrent/torrent_handle.hpp>
const qlonglong MAX_ETA = 8640000;
using namespace libtorrent;
/* Miscellaneaous functions that can be useful */