summaryrefslogtreecommitdiff
path: root/qpid/dotnet/Qpid.Client/Client
diff options
context:
space:
mode:
authorSteven Shaw <steshaw@apache.org>2006-12-04 17:48:34 +0000
committerSteven Shaw <steshaw@apache.org>2006-12-04 17:48:34 +0000
commit3f5bbfdf72fd941a6ac7e5747377c75c4807c023 (patch)
treea58d586069bb1633a92e90d78d882b0f486c7449 /qpid/dotnet/Qpid.Client/Client
parentadc5941cad54d7241c4ab4577c6ab2778ae6a68c (diff)
downloadqpid-python-3f5bbfdf72fd941a6ac7e5747377c75c4807c023.tar.gz
Fixes for .NET 1.1 compatibility
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@482263 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/dotnet/Qpid.Client/Client')
-rw-r--r--qpid/dotnet/Qpid.Client/Client/AmqBrokerInfo.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/dotnet/Qpid.Client/Client/AmqBrokerInfo.cs b/qpid/dotnet/Qpid.Client/Client/AmqBrokerInfo.cs
index 3fc2512efb..36dd93d3d3 100644
--- a/qpid/dotnet/Qpid.Client/Client/AmqBrokerInfo.cs
+++ b/qpid/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;