From bcf1d6eee80ab67890b6d538fb7fd9e050256e89 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 21 Feb 2012 06:46:36 +0000 Subject: [PATCH] fixed upload_mode assert --- src/peer_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp index 68bddf9e8..d973db61f 100644 --- a/src/peer_connection.cpp +++ b/src/peer_connection.cpp @@ -1970,7 +1970,7 @@ namespace libtorrent // peer has // if we're a seed, we don't keep track of piece availability bool interesting = false; - if (!t->is_seed()) + if (!t->is_upload_only()) { t->peer_has(bits);