fixed typo in previous check-in
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user