Przeglądaj źródła

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

master
Richard Nyberg 19 lat temu
rodzic
commit
08dcc6b892
1 zmienionych plików z 0 dodań i 1 usunięć
  1. +0
    -1
      btpd/peer.c

+ 0
- 1
btpd/peer.c Wyświetl plik

@@ -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;
}


Ładowanie…
Anuluj
Zapisz