Author: toad
Date: 2006-06-15 18:05:35 +0000 (Thu, 15 Jun 2006)
New Revision: 9212

Modified:
   trunk/freenet/src/freenet/node/Version.java
   trunk/freenet/src/freenet/node/fcp/GetFailedMessage.java
Log:
817: Fix #451.

Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2006-06-15 17:45:46 UTC (rev 
9211)
+++ trunk/freenet/src/freenet/node/Version.java 2006-06-15 18:05:35 UTC (rev 
9212)
@@ -18,7 +18,7 @@
        public static final String protocolVersion = "1.0";

        /** The build number of the current revision */
-       private static final int buildNumber = 816;
+       private static final int buildNumber = 817;

        /** Oldest build of Fred we will talk to */
        private static final int lastGoodBuild = 765;

Modified: trunk/freenet/src/freenet/node/fcp/GetFailedMessage.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/GetFailedMessage.java    2006-06-15 
17:45:46 UTC (rev 9211)
+++ trunk/freenet/src/freenet/node/fcp/GetFailedMessage.java    2006-06-15 
18:05:35 UTC (rev 9212)
@@ -75,7 +75,11 @@
                        expectedDataLength = Long.parseLong(s);
                } else
                        expectedDataLength = -1;
-               this.redirectURI = new FreenetURI(fs.get("RedirectURI"));
+               s = fs.get("RedirectURI");
+               if(s != null)
+                       this.redirectURI = new FreenetURI(s);
+               else
+                       this.redirectURI = null;
        }

        public SimpleFieldSet getFieldSet() {


Reply via email to