Author: toad
Date: 2007-06-22 22:22:21 +0000 (Fri, 22 Jun 2007)
New Revision: 13722

Modified:
   trunk/freenet/src/freenet/node/NodeDispatcher.java
Log:
Fix NPE on local probe requests

Modified: trunk/freenet/src/freenet/node/NodeDispatcher.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeDispatcher.java  2007-06-22 22:21:03 UTC 
(rev 13721)
+++ trunk/freenet/src/freenet/node/NodeDispatcher.java  2007-06-22 22:22:21 UTC 
(rev 13722)
@@ -453,7 +453,7 @@
                        this.htl = htl;
                        this.nearest = nearest;
                        this.best = best;
-                       this.srcRef = src.myRef;
+                       this.srcRef = (src == null) ? null : src.myRef;
                        this.cb = cb;
                }



Reply via email to