Revision f6a13aec trunk/Pithos.Core/Agents/Uploader.cs

b/trunk/Pithos.Core/Agents/Uploader.cs
321 321

  
322 322

  
323 323
                        //Find the proper block
324
                        var blockIndex = treeHash.HashDictionary[missingHash];
324
                        long blockIndex = treeHash.HashDictionary[missingHash];
325 325
                        long offset = blockIndex*accountInfo.BlockSize;
326
                        Debut.Assert(offset>=0,String.Format("Negative Offset! BlockIndex {0} BlockSize {1}",blockIndex,accountInfo.BlockSize));
326 327

  
327 328
                        var read = fileInfo.Read(buffer, offset, accountInfo.BlockSize);
328 329

  

Also available in: Unified diff