oops
This commit is contained in:
parent
63390aa7b8
commit
7d3715ab02
|
@ -170,8 +170,9 @@ where
|
||||||
|
|
||||||
let num_acks = if sink.is_file_complete() { 8 } else { 1 };
|
let num_acks = if sink.is_file_complete() { 8 } else { 1 };
|
||||||
for _ in 0..num_acks {
|
for _ in 0..num_acks {
|
||||||
|
let idxs = sink.ack_idxs();
|
||||||
log.debug_msg(format!("send acks {:?}", idxs)).await;
|
log.debug_msg(format!("send acks {:?}", idxs)).await;
|
||||||
let m = DownMsg::Ack { idxs: sink.ack_idxs() };
|
let m = DownMsg::Ack { idxs };
|
||||||
match peer.send(m).await {
|
match peer.send(m).await {
|
||||||
Ok(()) => (),
|
Ok(()) => (),
|
||||||
Err(hptp::peer::SendError::NoTarget) => log.debug_msg("no target").await,
|
Err(hptp::peer::SendError::NoTarget) => log.debug_msg("no target").await,
|
||||||
|
|
Loading…
Reference in New Issue