On Fri, Oct 18, 2002 at 05:12:38PM +0100, Matthew Toseland wrote:
> > The one that hasn't come through yet because it's *waiting for
> > moderator approval* :)
> Um, send it to me then.
The patch is attached. Whoever is moderating can I guess delete the
message that's still pending.
--
David Allen
http://opop.nols.com/
----------------------------------------
A computer lets you make more mistakes faster than any invention in human
history--with the possible exceptions of handguns and tequila.
- Mitch Ratcliffe, Technology Review, April, 1992
? dist
? docs
Index: src/freenet/client/GetRequestProcess.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/client/GetRequestProcess.java,v
retrieving revision 1.3
diff -u -r1.3 GetRequestProcess.java
--- src/freenet/client/GetRequestProcess.java 10 Aug 2002 18:20:31 -0000 1.3
+++ src/freenet/client/GetRequestProcess.java 17 Oct 2002 21:50:38 -0000
@@ -63,7 +63,14 @@
FreenetURI nuri;
if (d != null) {
nuri = uri.popMetaString();
+ } else if(d == null &&
+ uri.getMetaString() != null) {
+ // This was an entry we couldn't find.
+ failed = true;
+ return null;
} else {
+ // getMetaString() was null so we must be
+ // talking about the default document.
d = metadata.getDefaultDocument();
nuri = uri;
}