Author: mturk Date: Sat Feb 2 19:25:49 2013 New Revision: 1441792 URL: http://svn.apache.org/viewvc?rev=1441792&view=rev Log: Fix BZ55413 by ensuring the returned value is number of event/sockets pairs
Modified: tomcat/native/branches/1.1.x/native/src/poll.c Modified: tomcat/native/branches/1.1.x/native/src/poll.c URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/src/poll.c?rev=1441792&r1=1441791&r2=1441792&view=diff ============================================================================== --- tomcat/native/branches/1.1.x/native/src/poll.c (original) +++ tomcat/native/branches/1.1.x/native/src/poll.c Sat Feb 2 19:25:49 2013 @@ -477,5 +477,5 @@ TCN_IMPLEMENT_CALL(jint, Poll, pollset)( } if (n > 0) (*e)->SetLongArrayRegion(e, set, 0, n, p->set); - return n; + return n / 2; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org