On Tuesday 28 October 2008 19:47, nextgens at freenetproject.org 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) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20081029/6ee4eaae/attachment.pgp>