From d723a7a4c69e28e7823201ff59ecedd3ab463cc5 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 28 Sep 2014 03:27:13 +0000 Subject: [PATCH] fix build --- include/libtorrent/http_seed_connection.hpp | 2 ++ src/http_seed_connection.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/include/libtorrent/http_seed_connection.hpp b/include/libtorrent/http_seed_connection.hpp index 1aba8759e..ee308a3fa 100644 --- a/include/libtorrent/http_seed_connection.hpp +++ b/include/libtorrent/http_seed_connection.hpp @@ -111,6 +111,8 @@ namespace libtorrent // if it's changed referencing back into that list will fail const std::string m_url; + web_seed_entry* m_web; + // the number of bytes left to receive of the response we're // currently parsing size_type m_response_left; diff --git a/src/http_seed_connection.cpp b/src/http_seed_connection.cpp index 42d40697f..ff8f9287b 100644 --- a/src/http_seed_connection.cpp +++ b/src/http_seed_connection.cpp @@ -56,6 +56,7 @@ namespace libtorrent , web_seed_entry& web) : web_connection_base(pack, web) , m_url(web.url) + , m_web(&web) , m_response_left(0) , m_chunk_pos(0) , m_partial_chunk_header(0)