forked from I2P_Developers/i2p.i2p
i2psnark: Fix IOOBE when stopping torrent that is allocating (ticket #2273)
more sync in PartialPiece
This commit is contained in:
@@ -546,7 +546,7 @@ class PeerState implements DataLoader
|
||||
synchronized(pp) {
|
||||
int dl = pp.getDownloaded();
|
||||
if (req.off != dl)
|
||||
req = new Request(pp, dl, 1);
|
||||
req = new Request(pp, dl);
|
||||
}
|
||||
rv.add(req);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user