fixed typo in previous check-in

This commit is contained in:
Arvid Norberg
2007-04-27 02:54:33 +00:00
parent 4afe9712e0
commit 9cae6e636e

View File

@@ -479,7 +479,7 @@ namespace libtorrent
m_requests.pop_front(); m_requests.pop_front();
incoming_piece(front_request, &m_piece[0]); incoming_piece(front_request, &m_piece[0]);
if (m_torrent.expired()) return; if (associated_torrent().expired()) return;
m_piece.clear(); m_piece.clear();
} }
@@ -495,7 +495,7 @@ namespace libtorrent
assert(http_body.left() >= r.length); assert(http_body.left() >= r.length);
incoming_piece(r, http_body.begin); incoming_piece(r, http_body.begin);
if (m_torrent.expired()) return; if (associated_torrent().expired()) return;
http_body.begin += r.length; http_body.begin += r.length;
} }