cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1165957 - /cassandra/trunk/src/java/org/apache/cassandra/net/OutboundTcpConnection.java
Date Wed, 07 Sep 2011 01:57:04 GMT
Author: jbellis
Date: Wed Sep  7 01:57:04 2011
New Revision: 1165957

URL: http://svn.apache.org/viewvc?rev=1165957&view=rev
Log:
use message.version in outbound header instead of MS.version
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-3144

Modified:
    cassandra/trunk/src/java/org/apache/cassandra/net/OutboundTcpConnection.java

Modified: cassandra/trunk/src/java/org/apache/cassandra/net/OutboundTcpConnection.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/src/java/org/apache/cassandra/net/OutboundTcpConnection.java?rev=1165957&r1=1165956&r2=1165957&view=diff
==============================================================================
--- cassandra/trunk/src/java/org/apache/cassandra/net/OutboundTcpConnection.java (original)
+++ cassandra/trunk/src/java/org/apache/cassandra/net/OutboundTcpConnection.java Wed Sep 
7 01:57:04 2011
@@ -155,7 +155,7 @@ public class OutboundTcpConnection exten
         if (false)
             header |= 4;
         // Setting up the version bit
-        header |= (MessagingService.version_ << 8);
+        header |= (message.getVersion() << 8);
 
         try
         {



Mime
View raw message