On Tuesday 28 October 2008 19:47, [EMAIL PROTECTED] wrote: > Author: nextgens > Date: 2008-10-28 19:47:26 +0000 (Tue, 28 Oct 2008) > New Revision: 23162 > > Modified: > trunk/freenet/src/freenet/client/ArchiveManager.java > Log: > fix bug #2667: Trunk: many old sites seem unretrievable
Why is this necessary? What if a site went to a zip and then got gzipped on
top?
>
> Modified: trunk/freenet/src/freenet/client/ArchiveManager.java
> ===================================================================
> --- trunk/freenet/src/freenet/client/ArchiveManager.java 2008-10-28
> 19:28:30
UTC (rev 23161)
> +++ trunk/freenet/src/freenet/client/ArchiveManager.java 2008-10-28
> 19:47:26
UTC (rev 23162)
> @@ -263,7 +263,7 @@
>
> InputStream is = null;
> try {
> - if(ctype == null) {
> + if((ctype == null) || (ARCHIVE_TYPE.ZIP ==
> archiveType)) {
> if(logMINOR) Logger.minor(this, "No
> compression");
> is = data.getInputStream();
> } else if(ctype == COMPRESSOR_TYPE.BZIP2) {
pgpUhSV0qPNZA.pgp
Description: PGP signature
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
