Author: toad
Date: 2007-12-14 19:29:48 +0000 (Fri, 14 Dec 2007)
New Revision: 16546
Modified:
trunk/freenet/src/freenet/node/PeerNode.java
Log:
location is optional!
Modified: trunk/freenet/src/freenet/node/PeerNode.java
===================================================================
--- trunk/freenet/src/freenet/node/PeerNode.java 2007-12-14 15:29:23 UTC
(rev 16545)
+++ trunk/freenet/src/freenet/node/PeerNode.java 2007-12-14 19:29:48 UTC
(rev 16546)
@@ -2001,11 +2001,7 @@
updateShouldDisconnectNow();
String locationString = fs.get("location");
- if(locationString == null) {
- // Location WILL be ommitted for an ARK.
- if(!forARK)
- throw new FSParseException("No location");
- } else {
+ if(locationString != null) {
try {
double newLoc =
Location.getLocation(locationString);
if(!Location.equals(newLoc, currentLocation)) {