Updating
This commit is contained in:
parent
34ea225560
commit
47c5e9e0c4
1 changed files with 2 additions and 2 deletions
|
|
@ -419,7 +419,7 @@ fn initial_check(
|
||||||
have_bytes += piece_info.len as u64;
|
have_bytes += piece_info.len as u64;
|
||||||
have_pieces.set(piece_info.piece_index.get() as usize, true);
|
have_pieces.set(piece_info.piece_index.get() as usize, true);
|
||||||
} else {
|
} else {
|
||||||
if !at_least_one_file_required {
|
if at_least_one_file_required {
|
||||||
trace!(
|
trace!(
|
||||||
"piece {} hash does not match, marking as needed",
|
"piece {} hash does not match, marking as needed",
|
||||||
piece_info.piece_index
|
piece_info.piece_index
|
||||||
|
|
@ -428,7 +428,7 @@ fn initial_check(
|
||||||
needed_pieces.set(piece_info.piece_index.get() as usize, true);
|
needed_pieces.set(piece_info.piece_index.get() as usize, true);
|
||||||
} else {
|
} else {
|
||||||
trace!(
|
trace!(
|
||||||
"piece {} is not required by any of the requested files, ignoring",
|
"piece {} hash does not match, but it is not required by any of the requested files, ignoring",
|
||||||
piece_info.piece_index
|
piece_info.piece_index
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue