From 7c87f93702c2f26090ca30633c1a44cdeaa8eff2 Mon Sep 17 00:00:00 2001 From: Steven Shaw Date: Mon, 4 Dec 2006 17:48:34 +0000 Subject: Fixes for .NET 1.1 compatibility git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482263 13f79535-47bb-0310-9956-ffa450edef68 --- dotnet/Qpid.Client/Client/AmqBrokerInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dotnet/Qpid.Client/Client') diff --git a/dotnet/Qpid.Client/Client/AmqBrokerInfo.cs b/dotnet/Qpid.Client/Client/AmqBrokerInfo.cs index 3fc2512efb..36dd93d3d3 100644 --- a/dotnet/Qpid.Client/Client/AmqBrokerInfo.cs +++ b/dotnet/Qpid.Client/Client/AmqBrokerInfo.cs @@ -102,7 +102,7 @@ namespace Qpid.Client // Fix for when there is port data but it is not automatically parseable by getPort(). String auth = connection.Authority; - if (auth != null && auth.Contains(":")) + if (auth != null && auth.IndexOf(':') != -1) { int start = auth.IndexOf(":") + 1; int end = start; -- cgit v1.2.1