* i2psnark:

- Fix NPE and other partials bugs
      - More extension message stubbing
      - Log tweaks
This commit is contained in:
zzz
2010-11-28 04:01:20 +00:00
parent 9ba86e86aa
commit a52fb65c64
5 changed files with 62 additions and 10 deletions

View File

@ -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)
{