diff options
Diffstat (limited to 'mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http/HttpClientChannel.cs')
-rw-r--r-- | mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http/HttpClientChannel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http/HttpClientChannel.cs b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http/HttpClientChannel.cs index 85b3a70312d..b8eea16af24 100644 --- a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http/HttpClientChannel.cs +++ b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http/HttpClientChannel.cs @@ -245,7 +245,7 @@ namespace System.Runtime.Remoting.Channels.Http public virtual IMessageSink CreateMessageSink (string url, object remoteChannelData, out string objectURI) { //Mostly copied from TcpClientChannel - if (url == null || Parse (url, out objectURI) != null) { + if (url == null || Parse (url, out objectURI) == null) { if (remoteChannelData != null) { IChannelDataStore ds = remoteChannelData as IChannelDataStore; if (ds != null && ds.ChannelUris.Length > 0) |