Added more scrape information to tracker info.

This commit is contained in:
Jari Sundell
2011-11-07 21:34:06 +09:00
parent 575968b291
commit f4c3758dcd
3 changed files with 11 additions and 5 deletions
+3 -1
View File
@@ -76,6 +76,8 @@
#include "poll_manager_select.h"
#include "view.h"
namespace std { using namespace tr1; }
namespace core {
void
@@ -204,7 +206,7 @@ Manager::get_address_throttle(const sockaddr* addr) {
// Most of this should be possible to move out.
void
Manager::initialize_second() {
torrent::Http::set_factory(sigc::mem_fun(m_httpStack, &CurlStack::new_object));
torrent::Http::set_factory(std::bind(&CurlStack::new_object, m_httpStack));
m_httpQueue->slot_factory(sigc::mem_fun(m_httpStack, &CurlStack::new_object));
CurlStack::global_init();