Author: alanmc
Date: 2007-03-04 12:42:16 -0500 (Sun, 04 Mar 2007)
New Revision: 73691
Modified:
trunk/bitsharp/src/MonoTorrent.Client/Managers/BufferManager.cs
Log:
Fixed typo in the buffer manager
Modified: trunk/bitsharp/src/MonoTorrent.Client/Managers/BufferManager.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/Managers/BufferManager.cs
2007-03-04 17:09:15 UTC (rev 73690)
+++ trunk/bitsharp/src/MonoTorrent.Client/Managers/BufferManager.cs
2007-03-04 17:42:16 UTC (rev 73691)
@@ -97,7 +97,7 @@
{
if (this.mediumMessageBuffers.Count == 0)
this.AllocateBuffers(8,
BufferType.MediumMessageBuffer);
- buffer = this.smallMessageBuffers.Dequeue();
+ buffer = this.mediumMessageBuffers.Dequeue();
}
// If we're getting a large buffer and there are none in the pool,
just return a new one.
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches