Author: alanmc
Date: 2007-12-21 11:34:57 -0500 (Fri, 21 Dec 2007)
New Revision: 91771

Modified:
   trunk/bitsharp/src/MonoTorrent/Client/Managers/TorrentManager.cs
Log:
Patch from calum: HashChecked variable set to true when a brand new torrent is 
started.

Modified: trunk/bitsharp/src/MonoTorrent/Client/Managers/TorrentManager.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent/Client/Managers/TorrentManager.cs    
2007-12-21 16:32:12 UTC (rev 91770)
+++ trunk/bitsharp/src/MonoTorrent/Client/Managers/TorrentManager.cs    
2007-12-21 16:34:57 UTC (rev 91771)
@@ -409,6 +409,8 @@
                     }
                 }
 
+                this.hashChecked = true;
+
                 if (this.state == TorrentState.Seeding || this.state == 
TorrentState.SuperSeeding || this.state == TorrentState.Downloading)
                     throw new TorrentException("Torrent is already running");
 

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

Reply via email to