Author: alanmc
Date: 2008-02-14 16:46:19 -0500 (Thu, 14 Feb 2008)
New Revision: 95706

Modified:
   trunk/bitsharp/src/MonoTorrent/MonoTorrent.Client/PieceWriter/PieceData.cs
Log:
Bugfix: make sure to set the filemanager in all cases

Modified: 
trunk/bitsharp/src/MonoTorrent/MonoTorrent.Client/PieceWriter/PieceData.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent/MonoTorrent.Client/PieceWriter/PieceData.cs  
2008-02-14 21:45:59 UTC (rev 95705)
+++ trunk/bitsharp/src/MonoTorrent/MonoTorrent.Client/PieceWriter/PieceData.cs  
2008-02-14 21:46:19 UTC (rev 95706)
@@ -64,6 +64,7 @@
             this.id = id;
             this.pieceIndex = pieceIndex;
             this.startOffset = startOffset;
+                       this.fileManager = id.TorrentManager.FileManager;
         }
 
                public PieceData(ArraySegment<byte> buffer, int pieceIndex, int 
startOffset, int count, FileManager manager)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to