fixed typo in hash-piece parser
This commit is contained in:
parent
15f20c887d
commit
5e3e4c6146
|
@ -1225,7 +1225,7 @@ namespace libtorrent
|
||||||
#endif
|
#endif
|
||||||
lazy_entry hash_list;
|
lazy_entry hash_list;
|
||||||
error_code ec;
|
error_code ec;
|
||||||
if (lazy_bdecode(recv_buffer.begin + 13, recv_buffer.end + 13 + list_size
|
if (lazy_bdecode(recv_buffer.begin + 13, recv_buffer.begin+ 13 + list_size
|
||||||
, hash_list, ec) != 0)
|
, hash_list, ec) != 0)
|
||||||
{
|
{
|
||||||
disconnect(errors::invalid_hash_piece, 2);
|
disconnect(errors::invalid_hash_piece, 2);
|
||||||
|
|
Loading…
Reference in New Issue