activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1478409 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs
Date Thu, 02 May 2013 15:17:38 GMT
Author: tabish
Date: Thu May  2 15:17:38 2013
New Revision: 1478409

URL: http://svn.apache.org/r1478409
Log:
small fix for backup swap

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs?rev=1478409&r1=1478408&r2=1478409&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs
Thu May  2 15:17:38 2013
@@ -1101,7 +1101,7 @@ namespace Apache.NMS.ActiveMQ.Transport.
 	                            if (priorityBackup && priorityBackupAvailable) 
 								{
 	                                ITransport old = this.connectedTransport.GetAndSet(null);
-	                                if (transport != null) 
+	                                if (old != null) 
 									{
 	                                    DisposeTransport(old);
 	                                }



Mime
View raw message