Added option and flag parseing, now supports -p for port range.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@287 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-18 19:08:17 +00:00
parent 78d3d78ef3
commit e0f21cce78
7 changed files with 142 additions and 10 deletions
+3 -3
View File
@@ -37,7 +37,7 @@ WindowHttpQueue::redraw() {
}
m_canvas->erase();
m_canvas->print(0, 0, "Http [%2i]", m_container.size());
m_canvas->print(0, 0, "Http [%i]", m_queue->size());
int pos = 10;
Container::iterator itr = m_container.begin();
@@ -85,8 +85,8 @@ WindowHttpQueue::create_name(core::CurlGet* h) {
n.substr(n.size() - 8) == ".TORRENT"))
n = n.substr(0, n.size() - 8);
if (n.size() > 20)
n = n.substr(0, 20);
if (n.size() > 30)
n = n.substr(0, 30);
return n;
}