* Moved hash and torrent size checking to initialize so it will be

caught when loading a torrent.

* Added VariableMap to core::Download and started moving various
settings.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@624 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-01-19 17:13:25 +00:00
parent e8cd37ea3a
commit 52636178d1
14 changed files with 242 additions and 114 deletions
+5 -5
View File
@@ -80,11 +80,11 @@ WindowPeerInfo::redraw() {
y++;
m_canvas->print(0, y++, "Connection Type: %s ( %s / %s )",
core::Download::connection_type_to_string(m_download->get_connection_current()),
core::Download::connection_type_to_string(m_download->get_connection_leech()),
core::Download::connection_type_to_string(m_download->get_connection_seed()));
m_canvas->print(0, y++, "Tied to file: %s",
m_download->tied_to_file().c_str());
m_download->variables()->get("connection_current").as_string().c_str(),
m_download->variables()->get("connection_seed").as_string().c_str(),
m_download->variables()->get("connection_leech").as_string().c_str());
m_canvas->print(0, y++, "Tied to file: %s", m_download->variable_string("tied_to_file").c_str());
y++;