Changeset 1eb58a8


Ignore:
Timestamp:
May 28, 2011 8:11:52 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
9834a36
Parents:
c9c35a3
Message:
  • i2psnark: Fix bug preventing Robert from connecting to snark (thx sponge)
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/PeerAcceptor.java

    rc9c35a3 r1eb58a8  
    131131  }
    132132
    133   private static final int LOOKAHEAD_SIZE = "19".length() +
     133  /** 48 */
     134  private static final int LOOKAHEAD_SIZE = 1 + // chr(19)
    134135                                            "BitTorrent protocol".length() +
    135136                                            8 + // blank, reserved
     
    145146        throw new IOException("Unable to read the hash (read " + read + ")");
    146147    byte rv[] = new byte[20];
    147     System.arraycopy(buf, buf.length-rv.length-1, rv, 0, rv.length);
     148    System.arraycopy(buf, buf.length-rv.length, rv, 0, rv.length);
    148149    return rv;
    149150  }
  • history.txt

    rc9c35a3 r1eb58a8  
     12011-05-28 zzz
     2    * i2psnark: Fix bug preventing Robert from connecting to snark (thx sponge)
     3
    142011-05-27 zzz
    25    * Console: Fix router.updateThroughProxy being set to false after saving
  • router/java/src/net/i2p/router/RouterVersion.java

    rc9c35a3 r1eb58a8  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 10;
     21    public final static long BUILD = 11;
    2222
    2323    /** for example "-test" */
Note: See TracChangeset for help on using the changeset viewer.