Author: toad
Date: 2007-02-21 02:24:16 +0000 (Wed, 21 Feb 2007)
New Revision: 11873

Modified:
   trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
Log:
splitfileData/Check Keys not Blocks

Modified: trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
===================================================================
--- trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2007-02-21 02:12:40 UTC (rev 11872)
+++ trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2007-02-21 02:24:16 UTC (rev 11873)
@@ -58,14 +58,14 @@
        final FailureCodeTracker errors;
        private boolean finishing;

-       public SplitFileFetcherSegment(short splitfileType, ClientCHK[] 
splitfileDataBlocks, ClientCHK[] splitfileCheckBlocks, SplitFileFetcher 
fetcher, ArchiveContext archiveContext, FetchContext fetchContext, long 
maxTempLength, int recursionLevel) throws MetadataParseException, 
FetchException {
+       public SplitFileFetcherSegment(short splitfileType, ClientCHK[] 
splitfileDataKeys, ClientCHK[] splitfileCheckKeys, SplitFileFetcher fetcher, 
ArchiveContext archiveContext, FetchContext fetchContext, long maxTempLength, 
int recursionLevel) throws MetadataParseException, FetchException {
                logMINOR = Logger.shouldLog(Logger.MINOR, this);
                this.parentFetcher = fetcher;
                this.errors = new FailureCodeTracker(false);
                this.archiveContext = archiveContext;
                this.splitfileType = splitfileType;
-               dataKeys = splitfileDataBlocks;
-               checkKeys = splitfileCheckBlocks;
+               dataKeys = splitfileDataKeys;
+               checkKeys = splitfileCheckKeys;
                if(splitfileType == Metadata.SPLITFILE_NONREDUNDANT) {
                        minFetched = dataKeys.length;
                } else if(splitfileType == Metadata.SPLITFILE_ONION_STANDARD) {


Reply via email to