Ver código fonte

Remove a bad assert. The test can be true during normal operation.

master
Richard Nyberg 19 anos atrás
pai
commit
08dcc6b892
1 arquivos alterados com 0 adições e 1 exclusões
  1. +0
    -1
      btpd/peer.c

+ 0
- 1
btpd/peer.c Ver arquivo

@@ -113,7 +113,6 @@ peer_sent(struct peer *p, struct net_buf *nb)
p->npiece_msgs--;
break;
case NB_UNCHOKE:
assert(p->npiece_msgs == 0);
p->flags &= ~PF_NO_REQUESTS;
break;
}


Carregando…
Cancelar
Salvar