mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-08 19:22:29 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user