Author: alanmc
Date: 2007-03-14 07:03:25 -0500 (Wed, 14 Mar 2007)
New Revision: 74248

Modified:
   trunk/bitsharp/src/MonoTorrent.Client/Encryption/EncryptedSocket.cs
   trunk/bitsharp/src/MonoTorrent.Client/Encryption/NoEncryption.cs
Log:
Fixes to compile properly

Modified: trunk/bitsharp/src/MonoTorrent.Client/Encryption/EncryptedSocket.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/Encryption/EncryptedSocket.cs 
2007-03-14 11:00:00 UTC (rev 74247)
+++ trunk/bitsharp/src/MonoTorrent.Client/Encryption/EncryptedSocket.cs 
2007-03-14 12:03:25 UTC (rev 74248)
@@ -420,7 +420,7 @@
 
             if (matchStart == 0) // the match started in the beginning of the 
window, so it must be a full match
             {
-                doneSynchronizeCallback.Invoke(result);
+                doneSynchronizeCallback(result);
             }
             else
             {
@@ -482,7 +482,7 @@
 
                     if (toCopy == length)
                     {
-                        callback.Invoke(null);
+                        callback(null);
                     }
                     else
                     {
@@ -512,7 +512,7 @@
             }
             else
             {
-                callback.Invoke(null);
+                callback(null);
             }
         }
 
@@ -552,7 +552,7 @@
             }
             else
             {
-                callback.Invoke(result);
+                callback(result);
             }
         }
 
@@ -606,12 +606,12 @@
 
         protected void IOError()
         {
-            onEncryptorIOError.Invoke(id);
+            onEncryptorIOError(id);
         }
 
         protected void EncryptionError()
         {
-            onEncryptorEncryptionError.Invoke(id);
+            onEncryptorEncryptionError(id);
         }
         #endregion
 
@@ -842,7 +842,7 @@
 
             isReady = true;
 
-            onEncryptorReady.Invoke(id);
+            onEncryptorReady(id);
         }
         #endregion
     }

Modified: trunk/bitsharp/src/MonoTorrent.Client/Encryption/NoEncryption.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/Encryption/NoEncryption.cs    
2007-03-14 11:00:00 UTC (rev 74247)
+++ trunk/bitsharp/src/MonoTorrent.Client/Encryption/NoEncryption.cs    
2007-03-14 12:03:25 UTC (rev 74248)
@@ -67,7 +67,7 @@
 
         public void Start(Socket socket)
         {
-            onEncryptorReady.Invoke(id);
+            onEncryptorReady(id);
             return;
         }
 

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

Reply via email to