tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1209277 - /tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java
Date Thu, 01 Dec 2011 22:26:53 GMT
Author: markt
Date: Thu Dec  1 22:26:53 2011
New Revision: 1209277

URL: http://svn.apache.org/viewvc?rev=1209277&view=rev
Log:
Fix copy/paste error in comment

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java?rev=1209277&r1=1209276&r2=1209277&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java Thu Dec  1 22:26:53
2011
@@ -151,7 +151,7 @@ public class NioBlockingSelector {
         KeyAttachment att = (KeyAttachment) key.attachment();
         int read = 0;
         boolean timedout = false;
-        int keycount = 1; //assume we can write
+        int keycount = 1; //assume we can read
         long time = System.currentTimeMillis(); //start the timeout timer
         try {
             while ( (!timedout) && read == 0) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message