summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libtorrent/files/download_constructor.diff')
-rw-r--r--net-libs/libtorrent/files/download_constructor.diff21
1 files changed, 0 insertions, 21 deletions
diff --git a/net-libs/libtorrent/files/download_constructor.diff b/net-libs/libtorrent/files/download_constructor.diff
deleted file mode 100644
index e806cabb64b2..000000000000
--- a/net-libs/libtorrent/files/download_constructor.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/download/download_constructor.cc 2011-03-08 17:48:43.000000000 +0300
-+++ src/download/download_constructor.cc.new 2011-03-08 17:36:42.000000000 +0300
-@@ -97,7 +97,17 @@
-
- parse_name(b.get_key("info"));
- parse_info(b.get_key("info"));
--
-+
-+ // hack, quick fix for #2505
-+ if (b.has_key_list("announce-list"))
-+ if (b.get_key_list("announce-list").empty()) {
-+ b.erase_key("announce-list");
-+ } else {
-+ Object::list_type & l = b.get_key_list("announce-list");
-+ if (l.size() == 1 && !l.begin()->is_list()) {
-+ b.erase_key("announce-list");
-+ }
-+ }
- parse_tracker(b);
- }
-