Author: gert
Date: 2007-11-07 11:52:15 -0500 (Wed, 07 Nov 2007)
New Revision: 89123

Modified:
   trunk/gert/standalone/bug316785/client.cs
Log:
Avoid compiler warning.


Modified: trunk/gert/standalone/bug316785/client.cs
===================================================================
--- trunk/gert/standalone/bug316785/client.cs   2007-11-07 16:47:55 UTC (rev 
89122)
+++ trunk/gert/standalone/bug316785/client.cs   2007-11-07 16:52:15 UTC (rev 
89123)
@@ -12,7 +12,11 @@
 
        internal Client ()
        {
+#if NET_2_0
+               ChannelServices.RegisterChannel (new TcpChannel (), false);
+#else
                ChannelServices.RegisterChannel (new TcpChannel ());
+#endif
 
                WellKnownClientTypeEntry remotetype =
                        new WellKnownClientTypeEntry (typeof (Service), 
"tcp://localhost:8082/TcpService");

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

Reply via email to