Changeset 95d0dc0


Ignore:
Timestamp:
Jan 28, 2013 12:50:04 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
78dcfd8
Parents:
9247dc8
Message:

fix BuildHandler? NPE from previous checkin

Location:
router/java/src/net/i2p/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/RouterVersion.java

    r9247dc8 r95d0dc0  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 6;
     21    public final static long BUILD = 7;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/tunnel/pool/BuildHandler.java

    r9247dc8 r95d0dc0  
    867867                        // early request throttle check, before queueing and decryption
    868868                        Hash fh = fromHash;
    869                         if (fh == null)
     869                        if (fh == null && from != null)
    870870                            fh = from.calculateHash();
    871871                        if (fh != null && _requestThrottler.shouldThrottle(fh)) {
Note: See TracChangeset for help on using the changeset viewer.