forked from I2P_Developers/i2p.i2p
* i2psnark:
- Fix NPE and other partials bugs
- More extension message stubbing
- Log tweaks
This commit is contained in:
@@ -609,6 +609,9 @@ class PeerState implements DataLoader
|
||||
*/
|
||||
synchronized void addRequest()
|
||||
{
|
||||
// no bitfield yet? nothing to request then.
|
||||
if (bitfield == null)
|
||||
return;
|
||||
boolean more_pieces = true;
|
||||
while (more_pieces)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user